replicant-frameworks_native/opengl/libs
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
..
EGL EGL: fix the ANativeWindow size/fmt override 2011-07-11 12:31:45 -07:00
ETC1
GLES2
GLES2_dbg refactor EGL source code 2011-05-16 19:02:45 -07:00
GLES_CM
tools OpenGL tracing. 2010-10-26 15:21:24 -07:00
Android.mk fix x86 build 2011-05-23 17:48:36 -07:00
debug.in Initial commit of GLESv2 debugger server 2011-03-03 18:28:43 -08:00
egl_impl.h fix x86 build 2011-05-23 17:48:36 -07:00
entries.in
enums.in OpenGL tracing. 2010-10-26 15:21:24 -07:00
glesv2dbg_functions.h GLES2Debugger: Added DbgContext and vertex data capturing. 2011-03-10 16:40:37 -08:00
glesv2dbg.h refactor EGL source code 2011-05-16 19:02:45 -07:00
hooks.h fix x86 build 2011-05-23 17:48:36 -07:00
trace.in OpenGL tracing. 2010-10-26 15:21:24 -07:00