| Index: cc/CCLayerTreeHostImpl.cpp
|
| diff --git a/cc/CCLayerTreeHostImpl.cpp b/cc/CCLayerTreeHostImpl.cpp
|
| index 5b1a23d67c4849142e87a75153fb473335e1f628..640f43d37a426abbfd1c0ac4bd6c9ddfff489749 100644
|
| --- a/cc/CCLayerTreeHostImpl.cpp
|
| +++ b/cc/CCLayerTreeHostImpl.cpp
|
| @@ -129,6 +129,7 @@ CCLayerTreeHostImpl::CCLayerTreeHostImpl(const CCLayerTreeSettings& settings, CC
|
| , m_hasTransparentBackground(false)
|
| , m_needsAnimateLayers(false)
|
| , m_pinchGestureActive(false)
|
| + , m_numAnimationFrames(0)
|
| , m_fpsCounter(CCFrameRateCounter::create())
|
| , m_debugRectHistory(CCDebugRectHistory::create())
|
| , m_numImplThreadScrolls(0)
|
| @@ -1230,6 +1231,7 @@ void CCLayerTreeHostImpl::animateLayers(double monotonicTime, double wallClockTi
|
| if (!CCSettings::acceleratedAnimationEnabled() || !m_needsAnimateLayers || !m_rootLayerImpl)
|
| return;
|
|
|
| + m_numAnimationFrames++;
|
| TRACE_EVENT0("cc", "CCLayerTreeHostImpl::animateLayers");
|
|
|
| OwnPtr<CCAnimationEventsVector> events(adoptPtr(new CCAnimationEventsVector));
|
| @@ -1305,9 +1307,9 @@ int CCLayerTreeHostImpl::sourceAnimationFrameNumber() const
|
| void CCLayerTreeHostImpl::renderingStats(CCRenderingStats* stats) const
|
| {
|
| stats->numFramesSentToScreen = fpsCounter()->currentFrameNumber();
|
| - stats->droppedFrameCount = fpsCounter()->droppedFrameCount();
|
| stats->numImplThreadScrolls = m_numImplThreadScrolls;
|
| stats->numMainThreadScrolls = m_numMainThreadScrolls;
|
| + stats->numAnimationFramesImpl = m_numAnimationFrames;
|
| }
|
|
|
| void CCLayerTreeHostImpl::animateScrollbars(double monotonicTime)
|
|
|