Index: ui/gfx/gl/gl_surface.h |
diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h |
index 5843a9cf99580baab249bbe6e81df21e08b42f19..150182e8ed1fd29fd007e98fa5b7ede90f9e6dc4 100644 |
--- a/ui/gfx/gl/gl_surface.h |
+++ b/ui/gfx/gl/gl_surface.h |
@@ -50,6 +50,10 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
// FBO. Otherwise returns 0. |
virtual unsigned int GetBackingFrameBufferObject(); |
+ // Copy part of the backbuffer to the frontbuffer. |
+ virtual bool SupportsPostSubBuffer(); |
+ virtual bool PostSubBuffer(int x, int y, int width, int height); |
+ |
static bool InitializeOneOff(); |
// Called after a context is made current with this surface. Returns false |