Chromium Code Reviews| Index: ui/gl/gl_surface.h |
| diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
| index ed029add26c6992111dcb446ba6cfe2523deb3da..029083fd7740e5d96b660a08f66a4e46e6fe531c 100644 |
| --- a/ui/gl/gl_surface.h |
| +++ b/ui/gl/gl_surface.h |
| @@ -106,22 +106,6 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
| // of screen refresh. If unavailable, returns NULL. |
| virtual VSyncProvider* GetVSyncProvider(); |
| - // Schedule an overlay plane to be shown at swap time. |
| - // |z_order| specifies the stacking order of the plane relative to the |
| - // main framebuffer located at index 0. For the case where there is no |
| - // main framebuffer, overlays may be scheduled at 0, taking its place. |
| - // |transform| specifies how the buffer is to be transformed during |
| - // composition. |
| - // |image| to be presented by the overlay. |
| - // |bounds_rect| specify where it is supposed to be on the screen in pixels. |
| - // |crop_rect| specifies the region within the buffer to be placed inside |
| - // |bounds_rect|. |
| - virtual bool ScheduleOverlayPlane(int z_order, |
|
achaulk
2014/07/30 18:29:51
We still need a way to get something surface-speci
reveman
2014/07/30 18:56:11
Not sure but it seems like it would be more approp
|
| - OverlayTransform transform, |
| - GLImage* image, |
| - const Rect& bounds_rect, |
| - const RectF& crop_rect); |
| - |
| // Create a GL surface that renders directly to a view. |
| static scoped_refptr<GLSurface> CreateViewGLSurface( |
| gfx::AcceleratedWidget window); |
| @@ -176,11 +160,6 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface { |
| virtual void* GetConfig() OVERRIDE; |
| virtual unsigned GetFormat() OVERRIDE; |
| virtual VSyncProvider* GetVSyncProvider() OVERRIDE; |
| - virtual bool ScheduleOverlayPlane(int z_order, |
| - OverlayTransform transform, |
| - GLImage* image, |
| - const Rect& bounds_rect, |
| - const RectF& crop_rect) OVERRIDE; |
| GLSurface* surface() const { return surface_.get(); } |