Lines Matching refs:_EGLThreadInfo
45 static _EGLThreadInfo dummy_thread = _EGL_THREAD_INFO_INITIALIZER;
49 static void (*_egl_FreeTSD)(_EGLThreadInfo *);
52 static __thread const _EGLThreadInfo *_egl_TLS
56 static inline void _eglSetTSD(const _EGLThreadInfo *t) in _eglSetTSD()
64 static inline _EGLThreadInfo *_eglGetTSD(void) in _eglGetTSD()
67 return (_EGLThreadInfo *) _egl_TLS; in _eglGetTSD()
69 return (_EGLThreadInfo *) tss_get(_egl_TSD); in _eglGetTSD()
77 _EGLThreadInfo *t = _eglGetTSD(); in _eglFiniTSD()
87 static inline EGLBoolean _eglInitTSD(void (*dtor)(_EGLThreadInfo *)) in _eglInitTSD() argument
110 _eglInitThreadInfo(_EGLThreadInfo *t) in _eglInitThreadInfo()
122 static _EGLThreadInfo *
125 _EGLThreadInfo *t = calloc(1, sizeof(_EGLThreadInfo)); in _eglCreateThreadInfo()
138 _eglDestroyThreadInfo(_EGLThreadInfo *t) in _eglDestroyThreadInfo()
148 static inline _EGLThreadInfo *
167 _EGLThreadInfo *
170 _EGLThreadInfo *t = _eglCheckedGetTSD(); in _eglGetCurrentThread()
186 _EGLThreadInfo *t = _eglCheckedGetTSD(); in _eglDestroyCurrentThread()
203 _EGLThreadInfo *t = _eglCheckedGetTSD(); in _eglIsCurrentThreadDummy()
214 _EGLThreadInfo *t = _eglGetCurrentThread(); in _eglGetCurrentContext()
225 _EGLThreadInfo *t = _eglGetCurrentThread(); in _eglInternalError()
308 _EGLThreadInfo *t = _eglGetCurrentThread(); in _eglGetThreadLabel()
355 _EGLThreadInfo *thr = _eglGetCurrentThread(); in _eglDebugReport()