gl_context_ 78 content/common/gpu/media/rendering_helper.cc x_display_, x_windows_[window_id], x_windows_[window_id], gl_context_)); gl_context_ 86 content/common/gpu/media/rendering_helper.cc gl_surfaces_[window_id], gl_context_)) gl_context_ 134 content/common/gpu/media/rendering_helper.cc gl_context_ = glXCreateContext(x_display_, x_visual_, 0, true); gl_context_ 135 content/common/gpu/media/rendering_helper.cc CHECK(gl_context_); gl_context_ 170 content/common/gpu/media/rendering_helper.cc gl_context_ = eglCreateContext( gl_context_ 172 content/common/gpu/media/rendering_helper.cc CHECK_NE(gl_context_, EGL_NO_CONTEXT) << eglGetError(); gl_context_ 365 content/common/gpu/media/rendering_helper.cc glXDestroyContext(x_display_, gl_context_); gl_context_ 368 content/common/gpu/media/rendering_helper.cc CHECK(eglDestroyContext(gl_display_, gl_context_)); gl_context_ 488 content/common/gpu/media/rendering_helper.cc NativeContextType RenderingHelper::GetGLContext() { return gl_context_; } gl_context_ 503 content/common/gpu/media/rendering_helper.cc gl_context_ = NULL; gl_context_ 101 content/common/gpu/media/rendering_helper.h NativeContextType gl_context_; gl_context_ 140 gpu/gles2_conform_support/egl/display.cc gl_context_ = gfx::GLContext::CreateGLContext(NULL, gl_context_ 143 gpu/gles2_conform_support/egl/display.cc if (!gl_context_.get()) gl_context_ 146 gpu/gles2_conform_support/egl/display.cc gl_context_->MakeCurrent(gl_surface_.get()); gl_context_ 165 gpu/gles2_conform_support/egl/display.cc gl_context_.get(), gl_context_ 207 gpu/gles2_conform_support/egl/display.cc gl_context_ = NULL; gl_context_ 88 gpu/gles2_conform_support/egl/display.h scoped_refptr<gfx::GLContext> gl_context_; gl_context_ 67 gpu/tools/compositor_model_bench/compositor_model_bench.cc gl_context_(NULL), gl_context_ 75 gpu/tools/compositor_model_bench/compositor_model_bench.cc glXDestroyContext(display_, gl_context_); gl_context_ 202 gpu/tools/compositor_model_bench/compositor_model_bench.cc for (int i = 0; i < visual_info_count && !gl_context_; ++i) { gl_context_ 203 gpu/tools/compositor_model_bench/compositor_model_bench.cc gl_context_ = glXCreateContext(display_, visual_info_list + i, 0, gl_context_ 208 gpu/tools/compositor_model_bench/compositor_model_bench.cc if (!gl_context_) { gl_context_ 212 gpu/tools/compositor_model_bench/compositor_model_bench.cc if (!glXMakeCurrent(display_, window_, gl_context_)) { gl_context_ 213 gpu/tools/compositor_model_bench/compositor_model_bench.cc glXDestroyContext(display_, gl_context_); gl_context_ 214 gpu/tools/compositor_model_bench/compositor_model_bench.cc gl_context_ = NULL; gl_context_ 350 gpu/tools/compositor_model_bench/compositor_model_bench.cc GLXContext gl_context_; gl_context_ 111 media/tools/player_x11/gl_video_renderer.cc glXDestroyContext(display_, gl_context_); gl_context_ 115 media/tools/player_x11/gl_video_renderer.cc if (!gl_context_) gl_context_ 125 media/tools/player_x11/gl_video_renderer.cc if (glXGetCurrentContext() != gl_context_ || gl_context_ 127 media/tools/player_x11/gl_video_renderer.cc glXMakeCurrent(display_, window_, gl_context_); gl_context_ 143 media/tools/player_x11/gl_video_renderer.cc CHECK(!gl_context_); gl_context_ 149 media/tools/player_x11/gl_video_renderer.cc gl_context_ = InitGLContext(display_, window_); gl_context_ 150 media/tools/player_x11/gl_video_renderer.cc CHECK(gl_context_) << "Failed to initialize GL context"; gl_context_ 35 media/tools/player_x11/gl_video_renderer.h GLXContext gl_context_; gl_context_ 50 ui/surface/accelerated_surface_mac.cc gl_context_ = gfx::GLContext::CreateGLContext( gl_context_ 54 ui/surface/accelerated_surface_mac.cc if (!gl_context_.get()) { gl_context_ 70 ui/surface/accelerated_surface_mac.cc gl_context_ = NULL; gl_context_ 167 ui/surface/accelerated_surface_mac.cc if (!gl_context_.get()) gl_context_ 169 ui/surface/accelerated_surface_mac.cc return gl_context_->MakeCurrent(gl_surface_.get()); gl_context_ 173 ui/surface/accelerated_surface_mac.cc DCHECK(gl_context_->IsCurrent(gl_surface_.get())); gl_context_ 199 ui/surface/accelerated_surface_mac.cc ui::ScopedMakeCurrent make_current(gl_context_.get(), gl_surface_.get()); gl_context_ 240 ui/surface/accelerated_surface_mac.cc static_cast<CGLContextObj>(gl_context_->GetHandle()), gl_context_ 96 ui/surface/accelerated_surface_mac.h return static_cast<CGLContextObj>(gl_context_->GetHandle()); gl_context_ 120 ui/surface/accelerated_surface_mac.h scoped_refptr<gfx::GLContext> gl_context_;