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

Unified Diff: cc/trees/layer_tree_host_client.h

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 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
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_client.h
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h
index e3aca60d5b965f7f0c567b69c48a1fe85139cea7..f0a64b8eb1692f72a85d3039606cd4a37516a6d3 100644
--- a/cc/trees/layer_tree_host_client.h
+++ b/cc/trees/layer_tree_host_client.h
@@ -17,7 +17,7 @@ class Vector2dF;
namespace cc {
class ContextProvider;
class InputHandlerClient;
-class OutputSurface;
+class CompositorFrameSink;
struct BeginFrameArgs;
class LayerTreeHostClient {
@@ -46,13 +46,13 @@ class LayerTreeHostClient {
const gfx::Vector2dF& elastic_overscroll_delta,
float page_scale,
float top_controls_delta) = 0;
- // Request an OutputSurface from the client. When the client has one it should
- // call LayerTreeHost::SetOutputSurface. This will result in either
- // DidFailToInitializeOutputSurface or DidInitializeOutputSurface being
- // called.
- virtual void RequestNewOutputSurface() = 0;
- virtual void DidInitializeOutputSurface() = 0;
- virtual void DidFailToInitializeOutputSurface() = 0;
+ // Request an CompositorFrameSink from the client. When the client has one it
+ // should call LayerTreeHost::SetCompositorFrameSink. This will result in
+ // either DidFailToInitializeCompositorFrameSink or
+ // DidInitializeCompositorFrameSink being called.
+ virtual void RequestNewCompositorFrameSink() = 0;
+ virtual void DidInitializeCompositorFrameSink() = 0;
+ virtual void DidFailToInitializeCompositorFrameSink() = 0;
virtual void WillCommit() = 0;
virtual void DidCommit() = 0;
virtual void DidCommitAndDrawFrame() = 0;
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698