HomeSort by relevance Sort by last modified time
    Searched defs:GLContext (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/ui/gl/
gl_context.h 23 class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
25 explicit GLContext(GLShareGroup* share_group);
84 static scoped_refptr<GLContext> CreateGLContext(
91 // Returns the last GLContext made current, virtual or real.
92 static GLContext* GetCurrent();
100 bool MakeVirtuallyCurrent(GLContext* virtual_context, GLSurface* surface);
104 void OnReleaseVirtuallyCurrent(GLContext* virtual_context);
107 virtual ~GLContext();
118 // Returns the last real (non-virtual) GLContext made current
    [all...]
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) {
35 GLContext::~GLContext() {
42 bool GLContext::GetTotalGpuMemory(size_t* bytes) {
48 void GLContext::SetSafeToForceGpuSwitch() {
51 void GLContext::SetUnbindFboOnMakeCurrent() {
55 std::string GLContext::GetExtensions()
    [all...]

Completed in 39 milliseconds