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 b5e771368c06de4f13bdb728f5bbbec2b3e79fe8..4c4b6b8a56c6081c9c79e5e00de2474b0c9eb1f3 100644 |
--- a/gpu/command_buffer/client/context_support.h |
+++ b/gpu/command_buffer/client/context_support.h |
@@ -33,6 +33,14 @@ class ContextSupport { |
virtual void SetSwapBuffersCompleteCallback( |
const base::Closure& callback) = 0; |
+ // Schedule a texture to be presented as an overlay synchronously with the |
+ // primary surface during the next buffer swap. |
+ virtual void ScheduleOverlayPlane(int plane_z_order, |
+ unsigned plane_transform, |
piman
2014/03/25 00:08:08
nit: it'd make sense to have the enum down to gpu/
|
+ unsigned overlay_texture_id, |
+ const gfx::Rect& display_bounds, |
+ gfx::RectF crop_rect) = 0; |
+ |
protected: |
ContextSupport() {} |
virtual ~ContextSupport() {} |