Home
last modified time | relevance | path

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

/external/angle/src/libGLESv2/
Dglobal_state.cpp47 gCurrentThread = new Thread(); in AllocateCurrentThread()
54 return gCurrentThread; in AllocateCurrentThread()
72 thread_local Thread *gCurrentThread = nullptr; variable
94 Thread *current = gCurrentThread; in GetCurrentThread()
100 ASSERT(gCurrentThread == thread); in SetContextCurrent()
145 SafeDelete(gCurrentThread); in DeallocateCurrentThread()
Dglobal_state.h92 extern thread_local Thread *gCurrentThread;
128 ASSERT(egl::gCurrentThread); in GetGlobalContext()
129 return egl::gCurrentThread->getContext(); in GetGlobalContext()