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