diff options
Diffstat (limited to 'ui/gfx/gl/gl_surface.h')
-rw-r--r-- | ui/gfx/gl/gl_surface.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gfx/gl/gl_surface.h b/ui/gfx/gl/gl_surface.h index 5843a9c..150182e 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 |