Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
Degl_tls.cpp32 pthread_key_t egl_tls_t::sKey = -1; member in android::egl_tls_t
62 if (sKey == -1) { in validateTLSKey()
64 if (sKey == -1) in validateTLSKey()
65 pthread_key_create(&sKey, NULL); in validateTLSKey()
98 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in getTLS()
101 pthread_setspecific(sKey, tls); in getTLS()
107 if (sKey != -1) { in clearTLS()
108 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in clearTLS()
111 pthread_setspecific(sKey, 0); in clearTLS()
123 if (sKey == -1) in getError()
[all …]
Degl_tls.h33 static pthread_key_t sKey; variable