Home
last modified time | relevance | path

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

/external/chromium_org/ui/gl/
Dgl_gl_api_implementation.cc398 current_context_(NULL) { in VirtualGLApi()
444 if (switched_contexts || virtual_context != current_context_) { in MakeCurrent()
454 (current_context_ && !switched_contexts) in MakeCurrent()
455 ? current_context_->GetGLStateRestorer() in MakeCurrent()
459 current_context_ = virtual_context; in MakeCurrent()
472 if (current_context_ == virtual_context) in OnReleaseVirtuallyCurrent()
473 current_context_ = NULL; in OnReleaseVirtuallyCurrent()
Dgl_context.cc23 current_context_ = LAZY_INSTANCE_INITIALIZER; variable
151 return current_context_.Pointer()->Get(); in GetCurrent()
159 current_context_.Pointer()->Set(surface ? this : NULL); in SetCurrent()
Dgl_gl_api_implementation.h114 GLContext* current_context_; variable