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

Unified Diff: cc/thread_proxy.cc

Issue 11747002: cc: Set the max frames pending from the thread proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for-landing Created 7 years, 12 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/thread_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/thread_proxy.cc
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc
index ab708613204ecbc672900ca71bdb6abdef33994b..278fd4c0be57cc6ba06be91ac85bf627c9665d4e 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)
jamesr 2013/01/08 00:18:39 This line caused crashes on the win_aura bots (and
+ maxFramesPending = 1;
+ m_schedulerOnImplThread->setMaxFramesPending(maxFramesPending);
+
completion->signal();
}
« no previous file with comments | « cc/thread_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698