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

Unified Diff: content/common/gpu/image_transport_surface_overlay_mac.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: content/common/gpu/image_transport_surface_overlay_mac.h
diff --git a/content/common/gpu/image_transport_surface_overlay_mac.h b/content/common/gpu/image_transport_surface_overlay_mac.h
index e50c9d058a82d08d98d133f38ebd54dda38f8687..20fe730e9229deace825a09b238a24677bcf7271 100644
--- a/content/common/gpu/image_transport_surface_overlay_mac.h
+++ b/content/common/gpu/image_transport_surface_overlay_mac.h
@@ -45,6 +45,12 @@ class ImageTransportSurfaceOverlayMac : public gfx::GLSurface,
gfx::GLImage* image,
const gfx::Rect& bounds_rect,
const gfx::RectF& crop_rect) override;
+ bool ScheduleSolidColorOverlayPlane(int z_order,
+ const gfx::Rect& bounds_rect,
+ float red,
+ float green,
+ float blue,
+ float alpha) override;
bool IsSurfaceless() const override;
// ImageTransportSurface implementation
« no previous file with comments | « no previous file | content/common/gpu/image_transport_surface_overlay_mac.mm » ('j') | gpu/command_buffer/build_gles2_cmd_buffer.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698