replicant-frameworks_native/include
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
..
binder Add offset handling in MemoryHeapBase class 2009-08-20 03:55:20 -07:00
pim auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
private fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
tts Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
ui fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
utils Implement issue #1780928: Need support hiding nav keys. 2009-09-15 22:50:40 -07:00