Searched refs:GLContext (Results 1 - 25 of 109) sorted by relevance

12345

/external/chromium_org/ui/gl/
H A Dgl_share_group.h16 class GLContext;
24 // GLContext.
25 void AddContext(GLContext* context);
26 void RemoveContext(GLContext* context);
34 GLContext* GetContext();
38 void SetSharedContext(GLContext* context);
39 GLContext* GetSharedContext();
53 // References to GLContext are by raw pointer to avoid a reference count
55 typedef std::set<GLContext*> ContextSet;
58 GLContext* shared_context
[all...]
H A Dgl_context.cc22 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
25 base::LazyInstance<base::ThreadLocalPointer<GLContext> >::Leaky
29 GLContext::ScopedReleaseCurrent::ScopedReleaseCurrent() : canceled_(false) {}
31 GLContext::ScopedReleaseCurrent::~ScopedReleaseCurrent() {
37 void GLContext::ScopedReleaseCurrent::Cancel() {
41 GLContext::FlushEvent::FlushEvent() {
44 GLContext::FlushEvent::~FlushEvent() {
47 void GLContext::FlushEvent::Signal() {
51 bool GLContext::FlushEvent::IsSignaled() {
55 GLContext function in class:gfx::GLContext
[all...]
H A Dgl_context_ozone.cc20 scoped_refptr<GLContext> GLContext::CreateGLContext(
27 return scoped_refptr<GLContext>(new GLContextStub());
29 scoped_refptr<GLContext> context(new GLContextOSMesa(share_group));
35 scoped_refptr<GLContext> context(new GLContextEGL(share_group));
H A Dgl_context_win.cc23 scoped_refptr<GLContext> GLContext::CreateGLContext(
27 TRACE_EVENT0("gpu", "GLContext::CreateGLContext");
30 scoped_refptr<GLContext> context(new GLContextOSMesa(share_group));
37 scoped_refptr<GLContext> context(new GLContextEGL(share_group));
44 scoped_refptr<GLContext> context(new GLContextWGL(share_group));
H A Dgl_context_x11.cc25 scoped_refptr<GLContext> GLContext::CreateGLContext(
29 TRACE_EVENT0("gpu", "GLContext::CreateGLContext");
32 scoped_refptr<GLContext> context(new GLContextOSMesa(share_group));
39 scoped_refptr<GLContext> context(new GLContextGLX(share_group));
46 scoped_refptr<GLContext> context(new GLContextEGL(share_group));
H A Dgl_share_group.cc20 void GLShareGroup::AddContext(GLContext* context) {
24 void GLShareGroup::RemoveContext(GLContext* context) {
31 GLContext* context = GetContext();
38 GLContext* GLShareGroup::GetContext() {
49 void GLShareGroup::SetSharedContext(GLContext* context) {
54 GLContext* GLShareGroup::GetSharedContext() {
H A Dscoped_make_current.h13 class GLContext;
21 ScopedMakeCurrent(gfx::GLContext* context, gfx::GLSurface* surface);
27 scoped_refptr<gfx::GLContext> previous_context_;
29 scoped_refptr<gfx::GLContext> context_;
H A Dscoped_binders.cc13 : state_restorer_(!GLContext::GetCurrent()
15 : GLContext::GetCurrent()->GetGLStateRestorer()),
24 DCHECK(!!GLContext::GetCurrent());
25 DCHECK_EQ(state_restorer_, GLContext::GetCurrent()->GetGLStateRestorer());
33 : state_restorer_(!GLContext::GetCurrent()
35 : GLContext::GetCurrent()->GetGLStateRestorer()),
60 DCHECK(!!GLContext::GetCurrent());
61 DCHECK_EQ(state_restorer_, GLContext::GetCurrent()->GetGLStateRestorer());
H A Dgl_context.h26 class GL_EXPORT GLContext : public base::RefCounted<GLContext> { class in namespace:gfx
28 explicit GLContext(GLShareGroup* share_group);
43 friend class GLContext;
110 static scoped_refptr<GLContext> CreateGLContext(
117 // Returns the last GLContext made current, virtual or real.
118 static GLContext* GetCurrent();
126 bool MakeVirtuallyCurrent(GLContext* virtual_context, GLSurface* surface);
130 void OnReleaseVirtuallyCurrent(GLContext* virtual_context);
142 virtual ~GLContext();
[all...]
H A Dgl_gl_api_implementation.h19 class GLContext;
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_;
H A Dgl_context_android.cc28 // Implement GLContext.
66 return GLContext::GetExtensions();
68 return GLContext::GetExtensions() + " " + extensions;
74 scoped_refptr<GLContext> GLContext::CreateGLContext(
78 scoped_refptr<GLContext> context;
81 return scoped_refptr<GLContext>(new GLContextStub());
H A Dgl_osmesa_api_implementation.h14 class GLContext;
17 void InitializeDynamicGLBindingsOSMESA(GLContext* context);
H A Dscoped_make_current.cc13 ScopedMakeCurrent::ScopedMakeCurrent(gfx::GLContext* context,
15 : previous_context_(gfx::GLContext::GetCurrent()),
H A Dgl_fence_arb.h27 scoped_refptr<GLContext::FlushEvent> flush_event_;
H A Dgl_fence_nv.h27 scoped_refptr<GLContext::FlushEvent> flush_event_;
H A Dgl_egl_api_implementation.h14 class GLContext;
18 void InitializeDynamicGLBindingsEGL(GLContext* context);
H A Dgl_glx_api_implementation.h14 class GLContext;
18 void InitializeDynamicGLBindingsGLX(GLContext* context);
H A Dgl_wgl_api_implementation.h14 class GLContext;
18 void InitializeDynamicGLBindingsWGL(GLContext* context);
/external/deqp/framework/opengl/simplereference/
H A DsglrGLContext.cpp42 GLContext::GLContext (const glu::RenderContext& context, tcu::TestLog& log, deUint32 logFlags, const tcu::IVec4& baseViewport) function in class:sglr::GLContext
65 GLContext::~GLContext (void)
116 void GLContext::enableLogging (deUint32 logFlags)
122 tcu::IVec2 GLContext::getDrawOffset (void) const
130 tcu::IVec2 GLContext::getReadOffset (void) const
138 int GLContext::getWidth (void) const
143 int GLContext::getHeight (void) const
148 void GLContext
[all...]
/external/chromium_org/android_webview/browser/
H A Dscoped_app_gl_state_restore.h11 class GLContext;
/external/chromium_org/gpu/command_buffer/service/
H A Dasync_pixel_transfer_manager_linux.cc18 gfx::GLContext* context) {
H A Dasync_pixel_transfer_manager_mac.cc15 gfx::GLContext* context) {
H A Dasync_pixel_transfer_manager_win.cc15 gfx::GLContext* context) {
H A Dasync_pixel_transfer_manager_share_group.h13 class GLContext;
22 explicit AsyncPixelTransferManagerShareGroup(gfx::GLContext* context);
/external/deqp/modules/glshared/
H A DglsFragOpInteractionCase.hpp39 class GLContext;
76 sglr::GLContext* m_glCtx;

Completed in 867 milliseconds

12345