Searched refs:gl_context_ (Results 1 - 10 of 10) 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.cc114 gl_context_(NULL) {
119 glXDestroyContext(display_, gl_context_);
123 if (!gl_context_)
132 if (glXGetCurrentContext() != gl_context_ ||
134 glXMakeCurrent(display_, window_, gl_context_);
150 CHECK(!gl_context_);
156 gl_context_ = InitGLContext(display_, window_);
157 CHECK(gl_context_) << "Failed to initialize GL context";
/external/chromium_org/ui/surface/
H A Daccelerated_surface_mac.cc51 gl_context_ = gfx::GLContext::CreateGLContext(
55 if (!gl_context_.get()) {
71 gl_context_ = NULL;
168 if (!gl_context_.get())
170 return gl_context_->MakeCurrent(gl_surface_.get());
174 DCHECK(gl_context_->IsCurrent(gl_surface_.get()));
200 ui::ScopedMakeCurrent make_current(gl_context_.get(), gl_surface_.get());
241 static_cast<CGLContextObj>(gl_context_->GetHandle()),
H A Daccelerated_surface_mac.h96 return static_cast<CGLContextObj>(gl_context_->GetHandle());
120 scoped_refptr<gfx::GLContext> gl_context_; member in class:AcceleratedSurface
/external/chromium_org/gpu/tools/compositor_model_bench/
H A Dcompositor_model_bench.cc70 gl_context_(NULL),
78 glXDestroyContext(display_, gl_context_);
205 for (int i = 0; i < visual_info_count && !gl_context_; ++i) {
206 gl_context_ = glXCreateContext(display_, visual_info_list + i, 0,
211 if (!gl_context_) {
215 if (!glXMakeCurrent(display_, window_, gl_context_)) {
216 glXDestroyContext(display_, gl_context_);
217 gl_context_ = NULL;
353 GLXContext gl_context_; member in class:Simulator
/external/chromium_org/gpu/gles2_conform_support/egl/
H A Ddisplay.cc139 gl_context_ = gfx::GLContext::CreateGLContext(NULL,
142 if (!gl_context_.get())
145 gl_context_->MakeCurrent(gl_surface_.get());
164 gl_context_.get(),
204 gl_context_ = NULL;
H A Ddisplay.h86 scoped_refptr<gfx::GLContext> gl_context_; member in class:egl::Display
/external/chromium_org/content/common/gpu/media/
H A Drendering_helper_gl.cc131 NativeContextType gl_context_; member in class:content::RenderingHelperGL
189 x_display_, x_windows_[window_id], x_windows_[window_id], gl_context_));
197 gl_surfaces_[window_id], gl_context_))
245 gl_context_ = glXCreateContext(x_display_, x_visual_, 0, true);
246 CHECK(gl_context_);
279 gl_context_ = eglCreateContext(
281 CHECK_NE(gl_context_, EGL_NO_CONTEXT) << eglGetError();
460 glXDestroyContext(x_display_, gl_context_);
463 CHECK(eglDestroyContext(gl_display_, gl_context_));
569 return gl_context_;
[all...]
/external/chromium_org/ui/compositor/
H A Dtest_web_graphics_context_3d.cc20 gl_context_ = new gfx::GLContextStub;
21 gl_context_->MakeCurrent(gl_surface_.get());
H A Dtest_web_graphics_context_3d.h441 scoped_refptr<gfx::GLContext> gl_context_; member in class:ui::TestWebGraphicsContext3D

Completed in 3955 milliseconds