Searched refs:gEGLErrorKey (Results 1 – 1 of 1) sorted by relevance
66 static pthread_key_t gEGLErrorKey = -1; variable75 if (ggl_unlikely(gEGLErrorKey == -1)) { in setError()77 if (gEGLErrorKey == -1) in setError()78 pthread_key_create(&gEGLErrorKey, NULL); in setError()81 pthread_setspecific(gEGLErrorKey, (void*)(uintptr_t)error); in setError()86 if (ggl_unlikely(gEGLErrorKey == -1)) in getError()88 GLint error = (GLint)(uintptr_t)pthread_getspecific(gEGLErrorKey); in getError()94 pthread_setspecific(gEGLErrorKey, (void*)(uintptr_t)EGL_SUCCESS); in getError()