| Index: cc/CCFrameRateCounter.h
|
| diff --git a/cc/CCFrameRateCounter.h b/cc/CCFrameRateCounter.h
|
| index 76b42242565b74db6467aff88fc71c62796561e4..0b9256bb66ab5009fbc50103bb2b24712df02bc4 100644
|
| --- a/cc/CCFrameRateCounter.h
|
| +++ b/cc/CCFrameRateCounter.h
|
| @@ -23,7 +23,7 @@ public:
|
|
|
| void markBeginningOfFrame(double timestamp);
|
| void markEndOfFrame();
|
| - int currentFrameNumber() const { return m_currentFrameNumber; }
|
| + uint64_t currentFrameNumber() const { return m_currentFrameNumber; }
|
| void getAverageFPSAndStandardDeviation(double& averageFPS, double& standardDeviation) const;
|
| int timeStampHistorySize() const { return kTimeStampHistorySize; }
|
|
|
| @@ -35,8 +35,6 @@ public:
|
| // true if the given frame interval is too fast or too slow, based on constant thresholds.
|
| bool isBadFrameInterval(double intervalBetweenConsecutiveFrames) const;
|
|
|
| - int droppedFrameCount() const { return m_droppedFrameCount; }
|
| -
|
| private:
|
| CCFrameRateCounter();
|
|
|
| @@ -57,11 +55,9 @@ private:
|
|
|
| static const int kTimeStampHistorySize = 120;
|
|
|
| - int m_currentFrameNumber;
|
| + uint64_t m_currentFrameNumber;
|
| double m_timeStampHistory[kTimeStampHistorySize];
|
|
|
| - int m_droppedFrameCount;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(CCFrameRateCounter);
|
| };
|
|
|
|
|