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

Unified Diff: cc/scheduler.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: 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
Index: cc/scheduler.cc
diff --git a/cc/scheduler.cc b/cc/scheduler.cc
index 630d25b095786edf340f86b97ccf51bc93421295..c2dd920e7f2085453244ef7350fe95f165a6cba9 100644
--- a/cc/scheduler.cc
+++ b/cc/scheduler.cc
@@ -99,6 +99,11 @@ void Scheduler::setMaxFramesPending(int maxFramesPending)
m_frameRateController->setMaxFramesPending(maxFramesPending);
}
+int Scheduler::maxFramesPending() const
+{
+ return m_frameRateController->maxFramesPending();
+}
+
void Scheduler::setSwapBuffersCompleteSupported(bool supported)
{
m_frameRateController->setSwapBuffersCompleteSupported(supported);

Powered by Google App Engine
This is Rietveld 408576698