replicant-frameworks_native/opengl/libs
Mathias Agopian 6f0871222f better fix for [3028370] GL get error should return a valid error if no context is bound.
it turns out that we cannot return INVALID_OPERATION from glGetError() because the
GL spec says that it must be called in a loop until it returns GL_NO_ERROR.

now, we always return 0 from GL functions called from a thread with no
context bound. This means that glGetError() will return NO_ERROR in this case,
which is better than returning a random value (which could trap the app in a loop).

if this happens in the main thread of a process, we LOG an error message once.

Change-Id: Id59620e675a890286ef62a257c02b06e0fdcaf69
2010-09-23 16:44:48 -07:00
..
EGL better fix for [3028370] GL get error should return a valid error if no context is bound. 2010-09-23 16:44:48 -07:00
ETC1 A library for encoding and decoding ETC1 textures. 2009-12-31 13:31:04 +08:00
GLES2 better fix for [3028370] GL get error should return a valid error if no context is bound. 2010-09-23 16:44:48 -07:00
GLES_CM better fix for [3028370] GL get error should return a valid error if no context is bound. 2010-09-23 16:44:48 -07:00
tools fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00
Android.mk fix [2421247] implement eglGetProcAddress(), needed in the ndk 2010-08-02 18:23:36 -07:00
egl_impl.h small cleanup. gEGLImpl should have been static 2010-04-09 14:26:07 -07:00
entries.in update GL ES stub libraries with the new GL ES headers 2010-06-09 18:20:21 -07:00
hooks.h fix [2421247] implement eglGetProcAddress(), needed in the ndk 2010-08-02 18:23:36 -07:00