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

Unified Diff: cc/thread_proxy.h

Issue 11189037: toggle FPS counter in compositor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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 cc7842ba3f336158c42a34d2948cc5605b8111f0..a2edef78b28d90dd933ad0dc73d4172d0025fa05 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -52,6 +52,7 @@ public:
virtual size_t maxPartialTextureUpdates() const OVERRIDE;
virtual void acquireLayerTextures() OVERRIDE;
virtual void forceSerializeOnSwapBuffers() OVERRIDE;
+ virtual void setShowFPSCounter(bool show) OVERRIDE;
// CCLayerTreeHostImplClient implementation
virtual void didLoseContextOnImplThread() OVERRIDE;
@@ -126,6 +127,7 @@ private:
CCScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapInternal(bool forcedDraw);
void forceSerializeOnSwapBuffersOnImplThread(CCCompletionEvent*);
void setNeedsForcedCommitOnImplThread();
+ void setShowFPSCounterOnImplThread(bool show);
// Accessed on main thread only.
bool m_animateRequested; // Set only when setNeedsAnimate is called.

Powered by Google App Engine
This is Rietveld 408576698