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

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

Issue 1477593002: gpu: Initial implementation of CommitOverlayPlanes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-cop-command
Patch Set: typo Created 5 years, 1 month 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 d6461e16f9ce2c9361b4d81ec8676edb52eb1f00..11bb79d19aa2d68dbafc4ca5d55eafc8aa58c80d 100644
--- a/gpu/command_buffer/client/context_support.h
+++ b/gpu/command_buffer/client/context_support.h
@@ -43,9 +43,10 @@ class ContextSupport {
virtual void Swap() = 0;
virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) = 0;
+ virtual void CommitOverlayPlanes() = 0;
// Schedule a texture to be presented as an overlay synchronously with the
- // primary surface during the next buffer swap.
+ // primary surface during the next buffer swap or CommitOverlayPlanes.
// This method is not stateful and needs to be re-scheduled every frame.
virtual void ScheduleOverlayPlane(int plane_z_order,
gfx::OverlayTransform plane_transform,

Powered by Google App Engine
This is Rietveld 408576698