opengles emulator: code cleanup removing dead code

This change removes the 'blitFromPbuffer' path in the renderer
which uses binding pbuffer to texture. This path does not work
on all platforms and is not relavent any more. It simplifies
a lot the FBConfig filtering code.

Also, added a check to fail the renderer initialization if
the translator plugin does not support EGL_KHR_gl_texture_2d_image
and GL_OES_EGL_IMAGE (by both GLES implementations [1 and 2])
since our implementation requires it.

Change-Id: Ifd4c66943a8da56308cfb7e38914c962b4f5befe
This commit is contained in:
Guy Zadickario
2011-08-16 12:14:02 +03:00
parent 8c962dce6c
commit b9a5baf42b
5 changed files with 36 additions and 149 deletions

View File

@@ -23,8 +23,7 @@ class FrameBuffer;
enum InitConfigStatus {
INIT_CONFIG_FAILED = 0,
INIT_CONFIG_PASSED = 1,
INIT_CONFIG_HAS_BIND_TO_TEXTURE = 2
INIT_CONFIG_PASSED = 1
};
class FBConfig