Home
last modified time | relevance | path

Searched refs:GLContext (Results 1 – 25 of 111) sorted by relevance

12345

/external/chromium_org/ui/gl/
Dgl_context.cc22 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
25 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
29 GLContext::ScopedReleaseCurrent::ScopedReleaseCurrent() : canceled_(false) {} in ScopedReleaseCurrent()
31 GLContext::ScopedReleaseCurrent::~ScopedReleaseCurrent() { in ~ScopedReleaseCurrent()
37 void GLContext::ScopedReleaseCurrent::Cancel() { in Cancel()
41 GLContext::FlushEvent::FlushEvent() { in FlushEvent()
44 GLContext::FlushEvent::~FlushEvent() { in ~FlushEvent()
47 void GLContext::FlushEvent::Signal() { in Signal()
51 bool GLContext::FlushEvent::IsSignaled() { in IsSignaled()
55 GLContext::GLContext(GLShareGroup* share_group) : share_group_(share_group) { in GLContext() function in gfx::GLContext
[all …]
Dgl_context.h26 class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
28 explicit GLContext(GLShareGroup* share_group);
43 friend class GLContext; variable
110 static scoped_refptr<GLContext> CreateGLContext(
118 static GLContext* GetCurrent();
126 bool MakeVirtuallyCurrent(GLContext* virtual_context, GLSurface* surface);
130 void OnReleaseVirtuallyCurrent(GLContext* virtual_context);
142 virtual ~GLContext();
166 static GLContext* GetRealCurrent();
169 friend class base::RefCounted<GLContext>;
[all …]
Dgl_share_group.h16 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_;
Dscoped_binders.cc13 : 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()
Dgl_share_group.cc20 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()
Dgl_gl_api_implementation.h19 class GLContext; variable
24 void InitializeDynamicGLBindingsGL(GLContext* context);
98 void Initialize(DriverGL* driver, GLContext* real_context);
101 bool MakeCurrent(GLContext* virtual_context, GLSurface* surface);
103 void OnReleaseVirtuallyCurrent(GLContext* virtual_context);
112 GLContext* real_context_;
115 GLContext* current_context_;
Dgl_context_ozone.cc20 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()
Dgl_context_win.cc23 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()
Dgl_context_x11.cc25 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()
Dgl_context_android.cc66 return GLContext::GetExtensions(); in GetExtensions()
68 return GLContext::GetExtensions() + " " + extensions; in GetExtensions()
74 scoped_refptr<GLContext> GLContext::CreateGLContext( in CreateGLContext()
78 scoped_refptr<GLContext> context; in CreateGLContext()
81 return scoped_refptr<GLContext>(new GLContextStub()); in CreateGLContext()
Dscoped_make_current.h13 class GLContext; variable
21 ScopedMakeCurrent(gfx::GLContext* context, gfx::GLSurface* surface);
27 scoped_refptr<gfx::GLContext> previous_context_;
29 scoped_refptr<gfx::GLContext> context_;
Dgl_context_mac.mm20 scoped_refptr<GLContext> GLContext::CreateGLContext(
24 TRACE_EVENT0("gpu", "GLContext::CreateGLContext");
28 scoped_refptr<GLContext> context;
40 scoped_refptr<GLContext> context(new GLContextOSMesa(share_group));
Dgl_bindings.h274 void InitializeCustomDynamicBindings(GLContext* context);
289 void InitializeDynamicBindings(GLContext* context);
294 void InitializeDynamicBindings(GLContext* context);
306 void InitializeDynamicBindings(GLContext* context);
319 void InitializeDynamicBindings(GLContext* context);
332 void InitializeDynamicBindings(GLContext* context);
Dgl_surface.h22 class GLContext; variable
81 static void InitializeDynamicMockBindingsForTests(GLContext* context);
85 virtual bool OnMakeCurrent(GLContext* context);
150 friend class GLContext; variable
173 virtual bool OnMakeCurrent(GLContext* context) OVERRIDE;
Dgl_gl_api_implementation.cc176 void DriverGL::InitializeCustomDynamicBindings(GLContext* context) { in InitializeCustomDynamicBindings()
295 void InitializeDynamicGLBindingsGL(GLContext* context) { in InitializeDynamicGLBindingsGL()
363 DCHECK(GLContext::GetCurrent()); in SignalFlush()
364 GLContext::GetCurrent()->OnFlush(); in SignalFlush()
404 void VirtualGLApi::Initialize(DriverGL* driver, GLContext* real_context) { in Initialize()
425 bool VirtualGLApi::MakeCurrent(GLContext* virtual_context, GLSurface* surface) { in MakeCurrent()
440 DCHECK_EQ(real_context_, GLContext::GetRealCurrent()); in MakeCurrent()
471 void VirtualGLApi::OnReleaseVirtuallyCurrent(GLContext* virtual_context) { in OnReleaseVirtuallyCurrent()
Dscoped_make_current.cc13 ScopedMakeCurrent::ScopedMakeCurrent(gfx::GLContext* context, in ScopedMakeCurrent()
15 : previous_context_(gfx::GLContext::GetCurrent()), in ScopedMakeCurrent()
Dgl_osmesa_api_implementation.h14 class GLContext; variable
17 void InitializeDynamicGLBindingsOSMESA(GLContext* context);
Dgl_glx_api_implementation.h14 class GLContext; variable
18 void InitializeDynamicGLBindingsGLX(GLContext* context);
Dgl_egl_api_implementation.h14 class GLContext; variable
18 void InitializeDynamicGLBindingsEGL(GLContext* context);
Dgl_wgl_api_implementation.h14 class GLContext; variable
18 void InitializeDynamicGLBindingsWGL(GLContext* context);
/external/deqp/framework/opengl/simplereference/
DsglrGLContext.cpp42 GLContext::GLContext (const glu::RenderContext& context, tcu::TestLog& log, deUint32 logFlags, cons… in GLContext() function in sglr::GLContext
65 GLContext::~GLContext (void) in ~GLContext()
116 void GLContext::enableLogging (deUint32 logFlags) in enableLogging()
122 tcu::IVec2 GLContext::getDrawOffset (void) const in getDrawOffset()
130 tcu::IVec2 GLContext::getReadOffset (void) const in getReadOffset()
138 int GLContext::getWidth (void) const in getWidth()
143 int GLContext::getHeight (void) const in getHeight()
148 void GLContext::activeTexture (deUint32 texture) in activeTexture()
153 void GLContext::texParameteri (deUint32 target, deUint32 pname, int value) in texParameteri()
158 deUint32 GLContext::checkFramebufferStatus(deUint32 target) in checkFramebufferStatus()
[all …]
/external/chromium_org/gpu/command_buffer/tests/
Dgl_manager.h17 class GLContext; variable
86 gfx::GLContext* context() { in context()
122 scoped_refptr<gfx::GLContext> context_;
135 static scoped_refptr<gfx::GLContext>* base_context_;
Dgl_manager.cc85 scoped_refptr<gfx::GLContext>* GLManager::base_context_;
149 gfx::GLContext* real_gl_context = NULL; in Initialize()
195 context_ = scoped_refptr<gfx::GLContext>(new gpu::GLContextVirtual( in Initialize()
201 context_ = scoped_refptr<gfx::GLContext>(new gpu::GLContextVirtual( in Initialize()
206 context_ = gfx::GLContext::CreateGLContext(share_group_.get(), in Initialize()
263 base_context_ = new scoped_refptr<gfx::GLContext>( in SetupBaseContext()
264 gfx::GLContext::CreateGLContext(base_share_group_->get(), in SetupBaseContext()
/external/chromium_org/gpu/command_buffer/service/
Dgl_context_virtual.h27 class GPU_EXPORT GLContextVirtual : public gfx::GLContext {
31 gfx::GLContext* shared_context,
56 scoped_refptr<gfx::GLContext> shared_context_;
/external/chromium_org/gpu/config/
Dgpu_info_collector.cc34 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()
93 scoped_refptr<gfx::GLContext> context(InitializeGLContext(surface.get())); in CollectGraphicsInfoGL()

12345