Home
last modified time | relevance | path

Searched refs:shared_context_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/gpu/command_buffer/service/
Dgl_context_virtual.cc18 shared_context_(shared_context), in GLContextVirtual()
37 if (!shared_context_->MakeCurrent(compatible_surface)) { in Initialize()
45 shared_context_->SetupForVirtualization(); in Initialize()
46 shared_context_->MakeVirtuallyCurrent(this, compatible_surface); in Initialize()
51 shared_context_->OnReleaseVirtuallyCurrent(this); in Destroy()
52 shared_context_ = NULL; in Destroy()
58 return shared_context_->MakeVirtuallyCurrent(this, surface); in MakeCurrent()
66 shared_context_->OnReleaseVirtuallyCurrent(this); in ReleaseCurrent()
67 shared_context_->ReleaseCurrent(surface); in ReleaseCurrent()
75 return shared_context_->IsCurrent(surface); in IsCurrent()
[all …]
Dgl_context_virtual.h56 scoped_refptr<gfx::GLContext> shared_context_;
/external/chromium_org/ui/gl/
Dgl_share_group.cc13 : shared_context_(NULL) in GLShareGroup()
26 if (shared_context_ == context) in RemoveContext()
27 shared_context_ = NULL; in RemoveContext()
51 shared_context_ = context; in SetSharedContext()
55 return shared_context_; in GetSharedContext()
Dgl_share_group.h58 GLContext* shared_context_; variable