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

Unified Diff: cc/thread_proxy.h

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/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 5320ee2accd79da56aca971ed7ce3838c101c8d8..9b5d91b1a8683858924dcd3f8cddbc4dbd646b06 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -81,6 +81,8 @@ public:
// ResourceUpdateControllerClient implementation
virtual void readyToFinalizeTextureUpdates() OVERRIDE;
+ int maxFramesPendingForTesting() const { return m_schedulerOnImplThread->maxFramesPending(); }
+
private:
ThreadProxy(LayerTreeHost*, scoped_ptr<Thread> implThread);

Powered by Google App Engine
This is Rietveld 408576698