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

Unified Diff: ui/gl/gl_surface.h

Issue 1394403002: Mac Overlays: Plumb through GL solid color overlay support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
Index: ui/gl/gl_surface.h
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index 5d98253910d4993e51517e0d68a344f0d016bff8..e327306ef5f71bfb2c5e55183a4e5bb585ed52dd 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -140,7 +140,13 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
GLImage* image,
const Rect& bounds_rect,
const RectF& crop_rect);
-
+ // Schedule a solid color overlay plane to be shown at swap time.
+ virtual bool ScheduleSolidColorOverlayPlane(int z_order,
+ const Rect& bounds_rect,
+ float red,
+ float green,
+ float blue,
+ float alpha);
virtual bool IsSurfaceless() const;
// Create a GL surface that renders directly to a view.

Powered by Google App Engine
This is Rietveld 408576698