Home
last modified time | relevance | path

Searched refs:gEGLErrorKey (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/opengl/libagl/
Degl.cpp88 static pthread_key_t gEGLErrorKey = -1; variable
97 if (ggl_unlikely(gEGLErrorKey == -1)) { in setError()
99 if (gEGLErrorKey == -1) in setError()
100 pthread_key_create(&gEGLErrorKey, NULL); in setError()
103 pthread_setspecific(gEGLErrorKey, (void*)(uintptr_t)error); in setError()
108 if (ggl_unlikely(gEGLErrorKey == -1)) in getError()
110 GLint error = (GLint)(uintptr_t)pthread_getspecific(gEGLErrorKey); in getError()
116 pthread_setspecific(gEGLErrorKey, (void*)(uintptr_t)EGL_SUCCESS); in getError()