summaryrefslogtreecommitdiffstats
path: root/cc/thread_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/thread_proxy.cc')
-rw-r--r--cc/thread_proxy.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc
index ab70861..278fd4c 100644
--- a/cc/thread_proxy.cc
+++ b/cc/thread_proxy.cc
@@ -945,6 +945,11 @@ void ThreadProxy::initializeRendererOnImplThread(CompletionEvent* completion, bo
capabilities->usingSwapCompleteCallback);
}
+ int maxFramesPending = FrameRateController::kDefaultMaxFramesPending;
+ if (m_layerTreeHostImpl->outputSurface()->Capabilities().has_parent_compositor)
+ maxFramesPending = 1;
+ m_schedulerOnImplThread->setMaxFramesPending(maxFramesPending);
+
completion->signal();
}