replicant-frameworks_native/opengl/libs/EGL
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_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 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
getProcAddress.cpp improve a bit the implementation of eglGetProcAddress 2010-08-09 18:35:43 -07:00
hooks.cpp fix [2187212] add support for GLESv2 dispatch based on TLS 2009-10-14 02:06:37 -07:00
Loader.cpp support loading EGL libraries from /vendor/lib/egl as well as /system/lib/egl 2010-09-20 12:58:15 -07:00
Loader.h support loading EGL libraries from /vendor/lib/egl as well as /system/lib/egl 2010-09-20 12:58:15 -07:00