Home
last modified time | relevance | path

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

/external/mesa3d/src/glx/
Dglxcurrent.c109 static pthread_key_t ContextTSD; variable
121 if (pthread_key_create(&ContextTSD, NULL) != 0) { in init_thread_data()
131 pthread_setspecific(ContextTSD, c); in __glXSetCurrentContext()
141 v = pthread_getspecific(ContextTSD); in __glXGetCurrentContext()
/external/mesa3d/src/mesa/drivers/x11/
Dglxapi.c165 static _glthread_TSD ContextTSD; /**< Per-thread context pointer */ variable
177 _glthread_SetTSD(&ContextTSD, c); in SetCurrentContext()
275 return (GLXContext) _glthread_GetTSD(&ContextTSD); in glXGetCurrentContext()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_api.c89 static pipe_tsd ContextTSD; variable
95 pipe_tsd_set(&ContextTSD, c); in SetCurrentContext()
102 return pipe_tsd_get(&ContextTSD); in GetCurrentContext()