Searched refs:gCurrentThread (Results 1 – 2 of 2) sorted by relevance
47 gCurrentThread = new Thread(); in AllocateCurrentThread()54 return gCurrentThread; in AllocateCurrentThread()72 thread_local Thread *gCurrentThread = nullptr; variable94 Thread *current = gCurrentThread; in GetCurrentThread()100 ASSERT(gCurrentThread == thread); in SetContextCurrent()145 SafeDelete(gCurrentThread); in DeallocateCurrentThread()
92 extern thread_local Thread *gCurrentThread;128 ASSERT(egl::gCurrentThread); in GetGlobalContext()129 return egl::gCurrentThread->getContext(); in GetGlobalContext()