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

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: DCHECK_GE Created 7 years, 11 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/test/fake_output_surface.h ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 261d11cbd854adc3cc0a6377ce23a7e2c1b74860..772aec86ae14326fcb9a191355f4f7a6e1c74bda 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -82,6 +82,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698