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

Unified Diff: ui/gfx/gl/gl_surface.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_egl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_surface.h
===================================================================
--- ui/gfx/gl/gl_surface.h (revision 83213)
+++ ui/gfx/gl/gl_surface.h (working copy)
@@ -19,6 +19,12 @@
GLSurface() {}
virtual ~GLSurface() {}
+ // (Re)create the surface. TODO(apatrick): This is an ugly hack to allow the
+ // EGL surface associated to be recreated without destroying the associated
+ // context. The implementation of this function for other GLSurface derived
+ // classes is in a pending changelist.
+ virtual bool Initialize() { return true; }
+
// Destroys the surface.
virtual void Destroy() = 0;
« no previous file with comments | « ui/gfx/gl/gl_context_egl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698