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

Unified Diff: cc/trees/proxy_impl.cc

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bring up oilpan support during compositor worker creation and oilpan the compositor mutator and pro… Created 4 years, 8 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
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index bca90cb82eb2852c4d7369794c5fcf9d5aae5ffd..f0047583981bdc2487eed3d97c9f3fc49a2179c6 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -123,6 +123,13 @@ ProxyImpl::~ProxyImpl() {
smoothness_priority_expiration_notifier_.Shutdown();
}
+void ProxyImpl::InitializeMutatorOnImpl(
+ std::unique_ptr<LayerTreeMutator> mutator) {
+ TRACE_EVENT0("cc,compositor-worker", "ProxyImpl::InitializeMutatorOnImpl");
+ DCHECK(IsImplThread());
+ layer_tree_host_impl_->SetLayerTreeMutator(std::move(mutator));
+}
+
void ProxyImpl::UpdateTopControlsStateOnImpl(TopControlsState constraints,
TopControlsState current,
bool animate) {
« no previous file with comments | « cc/trees/proxy_impl.h ('k') | cc/trees/proxy_main.h » ('j') | cc/trees/remote_channel_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698