Searched refs:gl_context_ (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/media/tools/player_x11/
H A Dgl_video_renderer.h35 GLXContext gl_context_; member in class:GlVideoRenderer
H A Dgl_video_renderer.cc106 gl_context_(NULL) {
111 glXDestroyContext(display_, gl_context_);
116 if (!gl_context_)
126 if (glXGetCurrentContext() != gl_context_ ||
128 glXMakeCurrent(display_, window_, gl_context_);
144 CHECK(!gl_context_);
150 gl_context_ = InitGLContext(display_, window_);
151 CHECK(gl_context_) << "Failed to initialize GL context";
/external/chromium_org/ui/surface/
H A Daccelerated_surface_mac.cc52 gl_context_ = gfx::GLContext::CreateGLContext(
56 if (!gl_context_.get()) {
72 gl_context_ = NULL;
169 if (!gl_context_.get())
171 return gl_context_->MakeCurrent(gl_surface_.get());
175 DCHECK(gl_context_->IsCurrent(gl_surface_.get()));
197 ui::ScopedMakeCurrent make_current(gl_context_.get(), gl_surface_.get());
232 static_cast<CGLContextObj>(gl_context_->GetHandle()),
H A Daccelerated_surface_mac.h97 return static_cast<CGLContextObj>(gl_context_->GetHandle());
121 scoped_refptr<gfx::GLContext> gl_context_; member in class:AcceleratedSurface
/external/chromium_org/gpu/tools/compositor_model_bench/
H A Dcompositor_model_bench.cc67 gl_context_(NULL),
75 glXDestroyContext(display_, gl_context_);
202 for (int i = 0; i < visual_info_count && !gl_context_; ++i) {
203 gl_context_ = glXCreateContext(display_, visual_info_list + i, 0,
208 if (!gl_context_) {
212 if (!glXMakeCurrent(display_, window_, gl_context_)) {
213 glXDestroyContext(display_, gl_context_);
214 gl_context_ = NULL;
350 GLXContext gl_context_; member in class:Simulator
/external/chromium_org/gpu/gles2_conform_support/egl/
H A Ddisplay.cc141 gl_context_ = gfx::GLContext::CreateGLContext(NULL,
144 if (!gl_context_.get())
147 gl_context_->MakeCurrent(gl_surface_.get());
166 gl_context_.get(),
205 gl_context_ = NULL;
H A Ddisplay.h107 scoped_refptr<gfx::GLContext> gl_context_; member in class:egl::Display
/external/chromium_org/content/common/gpu/media/
H A Drendering_helper.cc177 gl_context_ = gfx::GLContext::CreateGLContext(
179 gl_context_->MakeCurrent(gl_surface_.get());
318 gl_context_->ReleaseCurrent(gl_surface_.get());
319 gl_context_ = NULL;
444 return gl_context_->GetHandle();
454 gl_context_ = NULL;
H A Drendering_helper.h160 scoped_refptr<gfx::GLContext> gl_context_; member in class:content::RenderingHelper

Completed in 403 milliseconds