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

Unified Diff: cc/trees/channel_main.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/channel_impl.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/channel_main.h
diff --git a/cc/trees/channel_main.h b/cc/trees/channel_main.h
index 0466d77d00e77afd1aabee5b779827b2e163f213..4902b46ce81107e413a563575f47ea43abb2ad58 100644
--- a/cc/trees/channel_main.h
+++ b/cc/trees/channel_main.h
@@ -8,7 +8,7 @@
#include "cc/base/cc_export.h"
#include "cc/base/completion_event.h"
#include "cc/input/top_controls_state.h"
-#include "cc/output/output_surface.h"
+#include "cc/output/compositor_frame_sink.h"
#include "cc/scheduler/begin_frame_source.h"
#include "cc/scheduler/commit_earlyout_reason.h"
#include "cc/trees/proxy_common.h"
@@ -35,14 +35,16 @@ class CC_EXPORT ChannelMain {
virtual void UpdateTopControlsStateOnImpl(TopControlsState constraints,
TopControlsState current,
bool animate) = 0;
- virtual void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) = 0;
+ virtual void InitializeCompositorFrameSinkOnImpl(
+ CompositorFrameSink* compositor_frame_sink) = 0;
virtual void InitializeMutatorOnImpl(
std::unique_ptr<LayerTreeMutator> mutator) = 0;
virtual void MainThreadHasStoppedFlingingOnImpl() = 0;
virtual void SetInputThrottledUntilCommitOnImpl(bool is_throttled) = 0;
virtual void SetDeferCommitsOnImpl(bool defer_commits) = 0;
virtual void SetVisibleOnImpl(bool visible) = 0;
- virtual void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) = 0;
+ virtual void ReleaseCompositorFrameSinkOnImpl(
+ CompletionEvent* completion) = 0;
virtual void MainFrameWillHappenOnImplForTesting(
CompletionEvent* completion,
bool* main_frame_will_happen) = 0;
« no previous file with comments | « cc/trees/channel_impl.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698