Home
last modified time | relevance | path

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

/external/mesa3d/src/egl/main/
Deglcurrent.c50 static pthread_key_t _egl_TSD; variable
60 pthread_setspecific(_egl_TSD, (const void *) t); in _eglSetTSD()
71 return (_EGLThreadInfo *) pthread_getspecific(_egl_TSD); in _eglGetTSD()
84 pthread_key_delete(_egl_TSD); in _eglFiniTSD()
96 if (pthread_key_create(&_egl_TSD, (void (*)(void *)) dtor) != 0) { in _eglInitTSD()
112 static const _EGLThreadInfo *_egl_TSD; variable
117 _egl_TSD = t; in _eglSetTSD()
122 return (_EGLThreadInfo *) _egl_TSD; in _eglGetTSD()
127 if (_egl_FreeTSD && _egl_TSD) in _eglFiniTSD()
128 _egl_FreeTSD((_EGLThreadInfo *) _egl_TSD); in _eglFiniTSD()