Go to file
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
cmds added BinderService<> template to help creating native binder services 2010-07-14 18:43:19 -07:00
include Looper: use pthread_once for TLS key initialization. 2010-09-21 15:26:51 -07:00
libs Looper: use pthread_once for TLS key initialization. 2010-09-21 15:26:51 -07:00
opengl 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
services/surfaceflinger surfaceflinger / GL extensions cleanup 2010-09-15 17:15:31 -07:00
vpn Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources. 2010-01-29 13:35:51 -08:00
MODULE_LICENSE_APACHE2
NOTICE Adding PacketVideo attribution in NOTICE. 2010-05-06 14:15:47 -07:00