Home
last modified time | relevance | path

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

/external/mesa3d/src/glx/
Dglxcurrent.c99 static pthread_key_t ContextTSD; variable
111 if (pthread_key_create(&ContextTSD, NULL) != 0) { in init_thread_data()
121 pthread_setspecific(ContextTSD, c); in __glXSetCurrentContext()
131 v = pthread_getspecific(ContextTSD); in __glXGetCurrentContext()
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_api.c103 static pipe_tsd ContextTSD; variable
109 pipe_tsd_set(&ContextTSD, c); in SetCurrentContext()
116 return pipe_tsd_get(&ContextTSD); in GetCurrentContext()