Lines Matching refs:GLContext
22 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
25 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
29 GLContext::ScopedReleaseCurrent::ScopedReleaseCurrent() : canceled_(false) {} in ScopedReleaseCurrent()
31 GLContext::ScopedReleaseCurrent::~ScopedReleaseCurrent() { in ~ScopedReleaseCurrent()
37 void GLContext::ScopedReleaseCurrent::Cancel() { in Cancel()
41 GLContext::FlushEvent::FlushEvent() { in FlushEvent()
44 GLContext::FlushEvent::~FlushEvent() { in ~FlushEvent()
47 void GLContext::FlushEvent::Signal() { in Signal()
51 bool GLContext::FlushEvent::IsSignaled() { in IsSignaled()
55 GLContext::GLContext(GLShareGroup* share_group) : share_group_(share_group) { in GLContext() function in gfx::GLContext
62 GLContext::~GLContext() { in ~GLContext()
69 scoped_refptr<GLContext::FlushEvent> GLContext::SignalFlush() { in SignalFlush()
76 bool GLContext::GetTotalGpuMemory(size_t* bytes) { in GetTotalGpuMemory()
82 void GLContext::SetSafeToForceGpuSwitch() { in SetSafeToForceGpuSwitch()
85 void GLContext::SetUnbindFboOnMakeCurrent() { in SetUnbindFboOnMakeCurrent()
89 std::string GLContext::GetExtensions() { in GetExtensions()
95 std::string GLContext::GetGLVersion() { in GetGLVersion()
102 std::string GLContext::GetGLRenderer() { in GetGLRenderer()
109 bool GLContext::HasExtension(const char* name) { in HasExtension()
119 const GLVersionInfo* GLContext::GetVersionInfo() { in GetVersionInfo()
129 GLShareGroup* GLContext::share_group() { in share_group()
133 bool GLContext::LosesAllContextsOnContextLost() { in LosesAllContextsOnContextLost()
150 GLContext* GLContext::GetCurrent() { in GetCurrent()
154 GLContext* GLContext::GetRealCurrent() { in GetRealCurrent()
158 void GLContext::SetCurrent(GLSurface* surface) { in SetCurrent()
169 GLStateRestorer* GLContext::GetGLStateRestorer() { in GetGLStateRestorer()
173 void GLContext::SetGLStateRestorer(GLStateRestorer* state_restorer) { in SetGLStateRestorer()
177 bool GLContext::WasAllocatedUsingRobustnessExtension() { in WasAllocatedUsingRobustnessExtension()
181 bool GLContext::InitializeDynamicBindings() { in InitializeDynamicBindings()
192 void GLContext::SetupForVirtualization() { in SetupForVirtualization()
199 bool GLContext::MakeVirtuallyCurrent( in MakeVirtuallyCurrent()
200 GLContext* virtual_context, GLSurface* surface) { in MakeVirtuallyCurrent()
205 void GLContext::OnReleaseVirtuallyCurrent(GLContext* virtual_context) { in OnReleaseVirtuallyCurrent()
210 void GLContext::SetRealGLApi() { in SetRealGLApi()
214 void GLContext::OnFlush() { in OnFlush()
221 : GLContext(share_group) {} in GLContextReal()
226 GLContext::SetCurrent(surface); in SetCurrent()