Index: cc/CCSingleThreadProxy.h |
diff --git a/cc/CCSingleThreadProxy.h b/cc/CCSingleThreadProxy.h |
index acdf4cfaee5338a2aad5fcb4622f721433014726..35fd98021bdff1e038184f3457f75689874b2db4 100644 |
--- a/cc/CCSingleThreadProxy.h |
+++ b/cc/CCSingleThreadProxy.h |
@@ -30,7 +30,7 @@ public: |
virtual void setVisible(bool) OVERRIDE; |
virtual bool initializeRenderer() OVERRIDE; |
virtual bool recreateContext() OVERRIDE; |
- virtual void implSideRenderingStats(CCRenderingStats&) OVERRIDE; |
+ virtual void renderingStats(CCRenderingStats&) OVERRIDE; |
virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; |
virtual void loseContext() OVERRIDE; |
virtual void setNeedsAnimate() OVERRIDE; |
@@ -40,7 +40,6 @@ public: |
virtual void didAddAnimation() OVERRIDE; |
virtual void start() OVERRIDE; |
virtual void stop() OVERRIDE; |
- virtual size_t maxPartialTextureUpdates() const OVERRIDE { return std::numeric_limits<size_t>::max(); } |
virtual void acquireLayerTextures() OVERRIDE { } |
virtual void forceSerializeOnSwapBuffers() OVERRIDE; |
@@ -78,6 +77,10 @@ private: |
RendererCapabilities m_RendererCapabilitiesForMainThread; |
bool m_nextFrameIsNewlyCommittedFrame; |
+ |
+ // Statistics |
+ double m_totalCommitTime; |
+ size_t m_totalCommitCount; |
}; |
// For use in the single-threaded case. In debug builds, it pretends that the |