/external/chromium_org/ui/gl/ |
D | gl_context.cc | 21 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky 24 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky 28 GLContext::GLContext(GLShareGroup* share_group) : share_group_(share_group) { in GLContext() function in gfx::GLContext 35 GLContext::~GLContext() { in ~GLContext() 42 bool GLContext::GetTotalGpuMemory(size_t* bytes) { in GetTotalGpuMemory() 48 void GLContext::SetSafeToForceGpuSwitch() { in SetSafeToForceGpuSwitch() 51 void GLContext::SetUnbindFboOnMakeCurrent() { in SetUnbindFboOnMakeCurrent() 55 std::string GLContext::GetExtensions() { in GetExtensions() 61 bool GLContext::HasExtension(const char* name) { in HasExtension() 71 GLShareGroup* GLContext::share_group() { in share_group() [all …]
|
D | gl_context.h | 23 class GL_EXPORT GLContext : public base::RefCounted<GLContext> { 25 explicit GLContext(GLShareGroup* share_group); 84 static scoped_refptr<GLContext> CreateGLContext( 92 static GLContext* GetCurrent(); 100 bool MakeVirtuallyCurrent(GLContext* virtual_context, GLSurface* surface); 104 void OnReleaseVirtuallyCurrent(GLContext* virtual_context); 107 virtual ~GLContext(); 119 static GLContext* GetRealCurrent(); 122 friend class base::RefCounted<GLContext>; 131 DISALLOW_COPY_AND_ASSIGN(GLContext); [all …]
|
D | gl_share_group.h | 16 class GLContext; variable 25 void AddContext(GLContext* context); 26 void RemoveContext(GLContext* context); 34 GLContext* GetContext(); 38 void SetSharedContext(GLContext* context); 39 GLContext* GetSharedContext(); 55 typedef std::set<GLContext*> ContextSet; 58 GLContext* shared_context_;
|
D | scoped_binders.cc | 13 : state_restorer_(!GLContext::GetCurrent() in ScopedFrameBufferBinder() 15 : GLContext::GetCurrent()->GetGLStateRestorer()), in ScopedFrameBufferBinder() 24 DCHECK(!!GLContext::GetCurrent()); in ~ScopedFrameBufferBinder() 25 DCHECK_EQ(state_restorer_, GLContext::GetCurrent()->GetGLStateRestorer()); in ~ScopedFrameBufferBinder() 33 : state_restorer_(!GLContext::GetCurrent() in ScopedTextureBinder() 35 : GLContext::GetCurrent()->GetGLStateRestorer()), in ScopedTextureBinder() 60 DCHECK(!!GLContext::GetCurrent()); in ~ScopedTextureBinder() 61 DCHECK_EQ(state_restorer_, GLContext::GetCurrent()->GetGLStateRestorer()); in ~ScopedTextureBinder()
|
D | gl_gl_api_implementation.h | 19 class GLContext; variable 23 void InitializeGLExtensionBindingsGL(GLContext* context); 74 void Initialize(DriverGL* driver, GLContext* real_context); 77 bool MakeCurrent(GLContext* virtual_context, GLSurface* surface); 79 void OnReleaseVirtuallyCurrent(GLContext* virtual_context); 86 GLContext* real_context_; 89 GLContext* current_context_;
|
D | gl_share_group.cc | 20 void GLShareGroup::AddContext(GLContext* context) { in AddContext() 24 void GLShareGroup::RemoveContext(GLContext* context) { in RemoveContext() 31 GLContext* context = GetContext(); in GetHandle() 38 GLContext* GLShareGroup::GetContext() { in GetContext() 49 void GLShareGroup::SetSharedContext(GLContext* context) { in SetSharedContext() 54 GLContext* GLShareGroup::GetSharedContext() { in GetSharedContext()
|
D | gl_context_ozone.cc | 20 scoped_refptr<GLContext> GLContext::CreateGLContext( in CreateGLContext() 27 return scoped_refptr<GLContext>(new GLContextStub()); in CreateGLContext() 29 scoped_refptr<GLContext> context(new GLContextOSMesa(share_group)); in CreateGLContext() 35 scoped_refptr<GLContext> context(new GLContextEGL(share_group)); in CreateGLContext()
|
D | gl_context_win.cc | 23 scoped_refptr<GLContext> GLContext::CreateGLContext( in CreateGLContext() 30 scoped_refptr<GLContext> context(new GLContextOSMesa(share_group)); in CreateGLContext() 37 scoped_refptr<GLContext> context(new GLContextEGL(share_group)); in CreateGLContext() 44 scoped_refptr<GLContext> context(new GLContextWGL(share_group)); in CreateGLContext()
|
D | gl_context_x11.cc | 25 scoped_refptr<GLContext> GLContext::CreateGLContext( in CreateGLContext() 32 scoped_refptr<GLContext> context(new GLContextOSMesa(share_group)); in CreateGLContext() 39 scoped_refptr<GLContext> context(new GLContextGLX(share_group)); in CreateGLContext() 46 scoped_refptr<GLContext> context(new GLContextEGL(share_group)); in CreateGLContext()
|
D | gl_context_android.cc | 66 return GLContext::GetExtensions(); in GetExtensions() 68 return GLContext::GetExtensions() + " " + extensions; in GetExtensions() 74 scoped_refptr<GLContext> GLContext::CreateGLContext( in CreateGLContext() 79 return scoped_refptr<GLContext>(new GLContextStub()); in CreateGLContext() 81 scoped_refptr<GLContext> context; in CreateGLContext()
|
D | scoped_make_current.h | 13 class GLContext; variable 21 ScopedMakeCurrent(gfx::GLContext* context, gfx::GLSurface* surface); 27 scoped_refptr<gfx::GLContext> previous_context_; 29 scoped_refptr<gfx::GLContext> context_;
|
D | gl_context_mac.mm | 22 scoped_refptr<GLContext> GLContext::CreateGLContext( 26 TRACE_EVENT0("gpu", "GLContext::CreateGLContext"); 30 scoped_refptr<GLContext> context; 41 scoped_refptr<GLContext> context(new GLContextOSMesa(share_group));
|
D | gl_bindings.h | 229 void InitializeExtensions(GLContext* context); 241 void InitializeExtensionBindings(GLContext* context); 246 void InitializeExtensionBindings(GLContext* context); 259 void InitializeExtensionBindings(GLContext* context); 273 void InitializeExtensionBindings(GLContext* context); 287 void InitializeExtensionBindings(GLContext* context);
|
D | gl_surface.h | 18 class GLContext; variable 76 virtual bool OnMakeCurrent(GLContext* context); 119 friend class GLContext; variable 142 virtual bool OnMakeCurrent(GLContext* context) OVERRIDE;
|
D | gl_gl_api_implementation.cc | 153 void DriverGL::InitializeExtensions(GLContext* context) { in InitializeExtensions() 198 void InitializeGLExtensionBindingsGL(GLContext* context) { in InitializeGLExtensionBindingsGL() 263 void VirtualGLApi::Initialize(DriverGL* driver, GLContext* real_context) { in Initialize() 284 bool VirtualGLApi::MakeCurrent(GLContext* virtual_context, GLSurface* surface) { in MakeCurrent() 299 DCHECK_EQ(real_context_, GLContext::GetRealCurrent()); in MakeCurrent() 330 void VirtualGLApi::OnReleaseVirtuallyCurrent(GLContext* virtual_context) { in OnReleaseVirtuallyCurrent()
|
D | scoped_make_current.cc | 13 ScopedMakeCurrent::ScopedMakeCurrent(gfx::GLContext* context, in ScopedMakeCurrent() 15 : previous_context_(gfx::GLContext::GetCurrent()), in ScopedMakeCurrent()
|
D | gl_osmesa_api_implementation.h | 14 class GLContext; variable 17 void InitializeGLExtensionBindingsOSMESA(GLContext* context);
|
D | gl_wgl_api_implementation.h | 14 class GLContext; variable 18 void InitializeGLExtensionBindingsWGL(GLContext* context);
|
D | gl_glx_api_implementation.h | 14 class GLContext; variable 18 void InitializeGLExtensionBindingsGLX(GLContext* context);
|
D | gl_egl_api_implementation.h | 14 class GLContext; variable 18 void InitializeGLExtensionBindingsEGL(GLContext* context);
|
/external/chromium_org/gpu/command_buffer/tests/ |
D | gl_manager.h | 15 class GLContext; variable 89 gfx::GLContext* context() { in context() 107 scoped_refptr<gfx::GLContext> context_; 117 static scoped_refptr<gfx::GLContext>* base_context_;
|
D | gl_manager.cc | 34 scoped_refptr<gfx::GLContext>* GLManager::base_context_; 99 gfx::GLContext* real_gl_context = NULL; in Initialize() 145 context_ = scoped_refptr<gfx::GLContext>(new gpu::GLContextVirtual( in Initialize() 151 context_ = scoped_refptr<gfx::GLContext>(new gpu::GLContextVirtual( in Initialize() 156 context_ = gfx::GLContext::CreateGLContext(share_group_.get(), in Initialize() 222 base_context_ = new scoped_refptr<gfx::GLContext>( in SetupBaseContext() 223 gfx::GLContext::CreateGLContext(base_share_group_->get(), in SetupBaseContext()
|
/external/chromium_org/gpu/command_buffer/service/ |
D | gl_context_virtual.h | 27 class GPU_EXPORT GLContextVirtual : public gfx::GLContext { 31 gfx::GLContext* shared_context, 56 scoped_refptr<gfx::GLContext> shared_context_;
|
D | async_pixel_transfer_manager_share_group.h | 13 class GLContext; variable 22 explicit AsyncPixelTransferManagerShareGroup(gfx::GLContext* context);
|
/external/chromium_org/gpu/config/ |
D | gpu_info_collector.cc | 34 scoped_refptr<gfx::GLContext> InitializeGLContext(gfx::GLSurface* surface) { in InitializeGLContext() 36 scoped_refptr<gfx::GLContext> context( in InitializeGLContext() 37 gfx::GLContext::CreateGLContext(NULL, in InitializeGLContext() 94 scoped_refptr<gfx::GLContext> context(InitializeGLContext(surface.get())); in CollectGraphicsInfoGL()
|