replicant-frameworks_native/opengl/tests
Mathias Agopian 3330b20303 fix [2167050] glTexImage2D code path buggy in SurfaceFlinger
When EGLImage extension is not available, SurfaceFlinger will fallback to using
glTexImage2D and glTexSubImage2D instead, which requires 50% more memory and an
extra copy. However this code path has never been exercised and had some bugs
which this patch fix.

Mainly the scale factor wasn't computed right when falling back on glDrawElements.
We also fallback to this mode of operation if a buffer doesn't have the adequate
usage bits for EGLImage usage.

This changes only code that is currently not executed. Some refactoring was needed to
keep the change clean. This doesn't change anything functionaly.
2009-10-06 17:00:25 -07:00
..
angeles workaround a bug in the SGX driver that would prevent eglGetConfig to work properly 2009-08-10 16:48:22 -07:00
fillrate workaround a bug in the SGX driver that would prevent eglGetConfig to work properly 2009-08-10 16:48:22 -07:00
filter show that we need to glClear to be fast(er) 2009-08-11 20:50:20 -07:00
finish workaround a bug in the SGX driver that would prevent eglGetConfig to work properly 2009-08-10 16:48:22 -07:00
gl2_basic Print out EGL configuration info for the config we've chosen. 2009-09-28 18:22:01 -07:00
gl2_jni Fix build. 2009-09-25 19:55:07 -07:00
gl_basic Add a simple test of OpenGL ES 1.x. 2009-09-30 14:17:12 -07:00
gl_jni Add very simple input path. Fix end-of-line issues. 2009-09-30 06:14:24 -07:00
gralloc fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
lighting1709 simplify this test 2009-06-02 18:35:48 -07:00
swapinterval workaround a bug in the SGX driver that would prevent eglGetConfig to work properly 2009-08-10 16:48:22 -07:00
textures workaround a bug in the SGX driver that would prevent eglGetConfig to work properly 2009-08-10 16:48:22 -07:00
tritex Don't ask for pbuffer support, because we don't use any pbuffers. 2009-09-28 18:28:07 -07:00
Android.mk auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00