replicant-frameworks_native/libs/gui
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 Merge "SurfaceTexture: enable newly passing tests." 2011-07-07 14:42:12 -07:00
Android.mk unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
IGraphicBufferAlloc.cpp return an error code with gralloc buffer allocation failures 2011-07-01 14:53:49 -07:00
ISensorEventConnection.cpp
ISensorServer.cpp
ISurface.cpp unify SurfaceTexture and Surface 2011-06-13 15:51:35 -07:00
ISurfaceComposer.cpp SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
ISurfaceComposerClient.cpp SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
ISurfaceTexture.cpp Implement {Surface|SurfaceTextureClient}::setSwapInterval() 2011-05-11 18:01:51 -07:00
LayerState.cpp SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
Sensor.cpp 9-axis sensor fusion with Kalman filter 2011-05-27 17:04:55 -07:00
SensorChannel.cpp
SensorEventQueue.cpp
SensorManager.cpp
Surface.cpp Add method to create a ParcelSurfaceTexture from android.view.Surface. 2011-06-22 16:18:09 -07:00
SurfaceComposerClient.cpp SF transactions are now O(1) wrt IPC instead of O(N). 2011-06-29 15:05:41 -07:00
SurfaceTexture.cpp return an error code with gralloc buffer allocation failures 2011-07-01 14:53:49 -07:00
SurfaceTextureClient.cpp EGL: fix the ANativeWindow size/fmt override 2011-07-11 12:31:45 -07:00