Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index f7a02f042834247f9e125dc263db6d221029423b..70336ba6df89845717bd9c2957802168f91b36e4 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -57,11 +57,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
// Get the underlying platform specific surface "handle". |
virtual void* GetHandle() = 0; |
- // Returns space separated list of surface specific extensions. |
- // The surface must be current. |
- virtual std::string GetExtensions(); |
- |
- bool HasExtension(const char* name); |
+ // Returns whether or not the surface supports PostSubBuffer. |
+ virtual bool SupportsPostSubBuffer(); |
// Returns the internal frame buffer object name if the surface is backed by |
// FBO. Otherwise returns 0. |
@@ -147,7 +144,7 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface { |
virtual bool IsOffscreen() OVERRIDE; |
virtual bool SwapBuffers() OVERRIDE; |
virtual bool PostSubBuffer(int x, int y, int width, int height) OVERRIDE; |
- virtual std::string GetExtensions() OVERRIDE; |
+ virtual bool SupportsPostSubBuffer() OVERRIDE; |
virtual gfx::Size GetSize() OVERRIDE; |
virtual void* GetHandle() OVERRIDE; |
virtual unsigned int GetBackingFrameBufferObject() OVERRIDE; |