Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: ui/gfx/gl/gl_context_egl.h

Issue 6880218: Removed "compositor" child window that was created by the GPU process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/gl/gl_context.cc ('k') | ui/gfx/gl/gl_context_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_context_egl.h
===================================================================
--- ui/gfx/gl/gl_context_egl.h (revision 83213)
+++ ui/gfx/gl/gl_context_egl.h (working copy)
@@ -18,7 +18,7 @@
class GLSurfaceEGL;
-// Encapsulates an EGL OpenGL ES context that renders to a view.
+// Encapsulates an EGL OpenGL ES context.
class GLContextEGL : public GLContext {
public:
// Takes ownership of surface. TODO(apatrick): separate notion of surface
@@ -33,10 +33,12 @@
// Implement GLContext.
virtual void Destroy();
virtual bool MakeCurrent();
+ virtual void ReleaseCurrent();
virtual bool IsCurrent();
virtual bool IsOffscreen();
virtual bool SwapBuffers();
virtual gfx::Size GetSize();
+ virtual GLSurface* GetSurface();
virtual void* GetHandle();
virtual void SetSwapInterval(int interval);
virtual std::string GetExtensions();
« no previous file with comments | « ui/gfx/gl/gl_context.cc ('k') | ui/gfx/gl/gl_context_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698