Lines Matching refs:tls
73 egl_tls_t* tls = getTLS();
74 if (tls->error != error) {
84 tls->error = error;
89 egl_tls_t* tls = getTLS();
90 if (tls->logCallWithNoContext == true) {
91 tls->logCallWithNoContext = false;
98 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey);
99 if (tls == 0) {
100 tls = new egl_tls_t;
101 pthread_setspecific(sKey, tls);
103 return tls;
108 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey);
109 if (tls) {
111 delete tls;
126 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey);
127 if (!tls) {
130 EGLint error = tls->error;
131 tls->error = EGL_SUCCESS;
144 egl_tls_t* tls = (egl_tls_t *)pthread_getspecific(sKey);
145 if (!tls) return EGL_NO_CONTEXT;
146 return tls->ctx;