replicant-frameworks_native/opengl/libs/EGL
Mathias Agopian cee79391c8 fix [2870926] Issue 9802: EGL wrapper has not been implemented correctly for eglQuerySurface().
rework how our EGL wrapper manages EGLConfig:

- we now store the EGLConfig with the EGLSurface and EGLContext
  so that we can have easy access to it from eglQueryContext
  and eglQuerySurface.

- EGLConfig now are an index into a sorted table of egl_config_t,
  we use a binary search to retrieve our EGLConfig (the index) from
  the implementation's EGLConfig.

- egl_config_t keeps track of the implementation's index,
  EGLConfig and CONFIG_ID as well as our CONFIG_ID.

In many ways, this implementation is simpler and more robust, as it doesn't
assume anything about the number of implementations nor what EGLConfig is
made of (the previous code assumed EGLConfig didn't usem more than 24-bits).

Change-Id: Id5abe923aacb6e1fd2b63bd8c15d7b04ae824922
2010-07-26 21:14:59 -07:00
..
egl_entries.in Add eglGetRenderBufferANDROID() extension, which returns the current render buffer as an android_native_buffer_t* 2009-06-25 00:02:44 -07:00
egl.cpp fix [2870926] Issue 9802: EGL wrapper has not been implemented correctly for eglQuerySurface(). 2010-07-26 21:14:59 -07:00
hooks.cpp fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00
Loader.cpp fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00
Loader.h fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00