replicant-frameworks_native/include/ui
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
..
egl really be more friendly with C 2009-08-17 12:33:20 -07:00
android_native_buffer.h fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
Camera.h Add zoom functions and sendCommand. 2009-10-06 13:25:10 -07:00
CameraHardwareInterface.h Add zoom functions and sendCommand. 2009-10-06 13:25:10 -07:00
CameraParameters.h Change FLASH_MODE_VIDEO_LIGHT to FLASH_MODE_TORCH. 2009-09-28 13:51:59 -07:00
DisplayInfo.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
EGLNativeSurface.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
EGLUtils.h added EGLUtils::strerror 2009-08-07 16:37:21 -07:00
EventHub.h EventHub: pass the name of each input device up to Java 2009-08-06 14:52:13 -07:00
FramebufferNativeWindow.h Android side of the fix for [2121211] Sholes has stutter during animations 2009-09-17 16:18:16 -07:00
GraphicBuffer.h fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
GraphicBufferAllocator.h fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
GraphicBufferMapper.h fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
ICamera.h Add zoom functions and sendCommand. 2009-10-06 13:25:10 -07:00
ICameraClient.h resolved conflicts for merge of 04c7d0f8 to master 2009-07-08 17:26:05 -07:00
ICameraService.h move libbinder's header files under includes/binder 2009-05-20 12:55:03 -07:00
IOverlay.h move libbinder's header files under includes/binder 2009-05-20 12:55:03 -07:00
ISurface.h fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
ISurfaceComposer.h Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed. 2009-08-13 18:19:32 -07:00
ISurfaceFlingerClient.h fix a bug that caused the PixelFormat viewed by Surface to be wrong. 2009-08-19 17:46:26 -07:00
KeyCharacterMap.h auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
KeycodeLabels.h AI 145994: Integrate #145778 from Donut. 2009-04-13 16:11:55 -07:00
Overlay.h Adding resizeInput and setAttributes for overlay 2009-07-29 17:53:38 -07:00
PixelFormat.h Integrate from //sandbox/mathias/donut/...@145728 2009-04-10 14:24:30 -07:00
Point.h minor clean-up to Rect and Point. 2009-05-26 17:47:39 -07:00
Rect.h oops forgot these changes in the previous merge. fixes build 2009-05-27 15:02:35 -07:00
Region.h Region::makeBoundsSelf() efficiently turns a region to its bounds 2009-06-29 18:46:37 -07:00
Surface.h fix [2167050] glTexImage2D code path buggy in SurfaceFlinger 2009-10-06 17:00:25 -07:00
SurfaceComposerClient.h fix [2132563] stuck in boot animation (framebuffer_device_open: Failed to create flip chain) 2009-09-23 15:49:32 -07:00