replicant-frameworks_native/libs/ui
Jamie Gennis bee205fd58 EGL: fix the ANativeWindow size/fmt override
This change fixes how the Android EGL layer overrides the size and
format of an ANativeWindow in eglCreateWindowSurface.  The new behavior
is to leave the size untouched when overriding the format.  The previous
behavior was to reset the ANativeWindow to use the default size set by
the ANativeWindow implementation.

It also adds two new 'perform' methods to the ANativeWindow interface:
set_buffers_dimensions and set_buffers_format, and redefines the
behavior of set_buffers_geometry to be the combination of these two new
methods.

Additionally, this change adds an error check for the return value of
the new native_window_set_buffers_format call, which required adding a
(stub) handler for to FramebufferNativeWindow.

Change-Id: I805c7ccd8d4730dfb132d10d8bc3fb058a0b9df1
2011-07-11 12:31:45 -07:00
..
tests Add initial API for stylus and mouse buttons. 2011-05-13 12:11:17 -07:00
Android.mk Remove native EventRecurrence parser 2011-06-28 07:43:27 -07:00
EGLUtils.cpp Fix EGLUtils::selectConfigForPixelFormat() 2011-07-08 14:37:05 -07:00
FramebufferNativeWindow.cpp EGL: fix the ANativeWindow size/fmt override 2011-07-11 12:31:45 -07:00
GraphicBuffer.cpp frameworks/base: android_native_buffer_t -> ANativeWindowBuffer 2011-05-03 16:40:14 -07:00
GraphicBufferAllocator.cpp improve SurfaceFlinger 'dumpsys' log 2011-01-19 16:15:53 -08:00
GraphicBufferMapper.cpp fix [3259708] Graphic Buffer Mapper does not support YV12 2010-12-08 16:48:28 -08:00
GraphicLog.cpp Fix sim-eng build on Hardy 2010-09-16 16:28:13 -07:00
Input.cpp am 61220e88: am bbbab26e: am 2c180499: Merge "Revert velocity damping. Bug: 4364920" into honeycomb-mr2 2011-06-07 17:52:30 -07:00
InputTransport.cpp Improve input event consistency invariants. 2011-06-28 20:10:40 -07:00
Keyboard.cpp Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
KeyCharacterMap.cpp Make getFallbackAction return false when there is none. 2011-01-14 17:54:38 -08:00
KeyLayoutMap.cpp Joystick tweaks. (DO NOT MERGE) 2011-03-04 19:12:41 -08:00
MODULE_LICENSE_APACHE2
NOTICE
PixelFormat.cpp remove unused pixel format 2010-08-19 13:11:42 -07:00
Rect.cpp Add ANativeWindow API for directly drawing to the surface bits. 2010-07-09 16:58:19 -07:00
Region.cpp fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out 2011-03-17 00:04:42 -07:00
VirtualKeyMap.cpp Improve support for external keyboards. 2010-12-02 16:01:32 -08:00