Mathias Agopian 25b388c43b 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
2010-09-22 11:21:00 +09:00
2010-09-23 13:56:52 +08:00
2010-09-23 11:04:03 -07:00
2010-09-14 20:46:14 -07:00
2010-03-16 09:59:06 -07:00
2010-09-21 13:38:17 +08:00
2010-09-23 14:52:24 +08:00
2010-03-29 18:12:24 -07:00
2010-08-20 13:17:12 -07:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%