Home
last modified time | relevance | path

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

/external/chromium_org/ui/gl/
Dgl_gl_api_implementation.cc171 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()
Dgl_bindings.h299 #define g_current_gl_context g_current_gl_context_tls->Get()
300 GL_EXPORT extern base::ThreadLocalPointer<GLApi>* g_current_gl_context_tls;
Dgl_implementation.cc65 base::ThreadLocalPointer<GLApi>* g_current_gl_context_tls = NULL; variable