Searched refs:gl_context_ (Results 1 - 9 of 9) sorted by relevance
/external/chromium_org/media/tools/player_x11/ |
H A D | gl_video_renderer.h | 35 GLXContext gl_context_; member in class:GlVideoRenderer
|
H A D | gl_video_renderer.cc | 106 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 D | accelerated_surface_mac.cc | 52 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 D | accelerated_surface_mac.h | 97 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 D | compositor_model_bench.cc | 67 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 D | display.cc | 141 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 D | display.h | 107 scoped_refptr<gfx::GLContext> gl_context_; member in class:egl::Display
|
/external/chromium_org/content/common/gpu/media/ |
H A D | rendering_helper.cc | 177 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 D | rendering_helper.h | 160 scoped_refptr<gfx::GLContext> gl_context_; member in class:content::RenderingHelper
|
Completed in 403 milliseconds