| Index: cc/test/test_context_support.h
|
| diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h
|
| index 7ae657c15d2189f01d0ab0d33b88c3ea5cd81697..9aaee6a419157f0462c201bcfcc03b35a1b18543 100644
|
| --- a/cc/test/test_context_support.h
|
| +++ b/cc/test/test_context_support.h
|
| @@ -29,6 +29,11 @@ class TestContextSupport : public gpu::ContextSupport {
|
| virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE;
|
| virtual void SetSwapBuffersCompleteCallback(
|
| const base::Closure& callback) OVERRIDE;
|
| + virtual void ScheduleOverlayPlane(int plane_z_order,
|
| + unsigned plane_transform,
|
| + unsigned overlay_texture_id,
|
| + const gfx::Rect& display_bounds,
|
| + gfx::RectF uv_rect) OVERRIDE;
|
|
|
| void CallAllSyncPointCallbacks();
|
|
|
| @@ -36,6 +41,14 @@ class TestContextSupport : public gpu::ContextSupport {
|
| void SetSurfaceVisibleCallback(
|
| const SurfaceVisibleCallback& set_visible_callback);
|
|
|
| + typedef base::Callback<void(int plane_z_order,
|
| + unsigned plane_transform,
|
| + unsigned overlay_texture_id,
|
| + const gfx::Rect& display_bounds,
|
| + gfx::RectF uv_rect)> ScheduleOverlayPlaneCallback;
|
| + void SetScheduleOverlayPlaneCallback(
|
| + const ScheduleOverlayPlaneCallback& schedule_overlay_plane_callback);
|
| +
|
| enum SwapType {
|
| NO_SWAP,
|
| SWAP,
|
| @@ -52,6 +65,7 @@ class TestContextSupport : public gpu::ContextSupport {
|
|
|
| std::vector<base::Closure> sync_point_callbacks_;
|
| SurfaceVisibleCallback set_visible_callback_;
|
| + ScheduleOverlayPlaneCallback schedule_overlay_plane_callback_;
|
|
|
| base::Closure swap_buffers_complete_callback_;
|
|
|
|
|