Searched refs:g_current_gl_context_tls (Results 1 – 3 of 3) sorted by relevance
171 g_current_gl_context_tls = new base::ThreadLocalPointer<GLApi>; in InitializeGLBindingsGL()187 return g_current_gl_context_tls->Get(); in GetCurrentGLApi()191 g_current_gl_context_tls->Set(api); in SetGLApi()217 if (g_current_gl_context_tls) { in ClearGLBindingsGL()218 delete g_current_gl_context_tls; in ClearGLBindingsGL()219 g_current_gl_context_tls = NULL; in ClearGLBindingsGL()285 bool switched_contexts = g_current_gl_context_tls->Get() != this; in MakeCurrent()
299 #define g_current_gl_context g_current_gl_context_tls->Get()300 GL_EXPORT extern base::ThreadLocalPointer<GLApi>* g_current_gl_context_tls;
65 base::ThreadLocalPointer<GLApi>* g_current_gl_context_tls = NULL; variable