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

Unified Diff: gpu/command_buffer/client/context_support.h

Issue 1406643002: Stash: Alternate prototype for NativeLayer renderer with GL fallback Base URL: https://chromium.googlesource.com/chromium/src.git@solid
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: gpu/command_buffer/client/context_support.h
diff --git a/gpu/command_buffer/client/context_support.h b/gpu/command_buffer/client/context_support.h
index 64079d2d8a91f51b4060c155d0c502d4ace063f2..51be0bc90832274ae78891cee685bd898361759b 100644
--- a/gpu/command_buffer/client/context_support.h
+++ b/gpu/command_buffer/client/context_support.h
@@ -46,6 +46,13 @@ class ContextSupport {
unsigned overlay_texture_id,
const gfx::Rect& display_bounds,
const gfx::RectF& uv_rect) = 0;
+ // Schedule a solid color overlay plane to be shown at swap time.
+ virtual void ScheduleSolidColorOverlayPlane(int z_order,
+ const gfx::Rect& bounds_rect,
+ float red,
+ float green,
+ float blue,
+ float alpha) = 0;
virtual uint32 InsertFutureSyncPointCHROMIUM() = 0;
virtual void RetireSyncPointCHROMIUM(uint32 sync_point) = 0;
« no previous file with comments | « content/common/gpu/image_transport_surface_overlay_mac.mm ('k') | gpu/command_buffer/client/gles2_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698