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

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: 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
Index: cc/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 3b2af67921f50fcddcaad5f8f15af4b8061278b5..6f35273c1e5df68bc79c298835194a55874c216b 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);
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/thread_proxy.cc » ('j') | cc/thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698