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

Unified Diff: ui/gl/gl_surface.h

Issue 415283002: ui: Add ScheduleOverlayPlane API to GLImage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/gl/gl_image_surface_texture.cc ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(); }
« no previous file with comments | « ui/gl/gl_image_surface_texture.cc ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698