Index: samplecode/SampleApp.h |
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h |
index 97854fcb972170caaf43208a75701e8053f8e3ac..c0f845d32c339e6050a1ce5b87a7a03910315f99 100644 |
--- a/samplecode/SampleApp.h |
+++ b/samplecode/SampleApp.h |
@@ -16,6 +16,7 @@ |
#include "SkTDArray.h" |
#include "SkTouchGesture.h" |
#include "SkWindow.h" |
+#include "timer/Timer.h" |
class GrContext; |
class GrRenderTarget; |
@@ -183,8 +184,8 @@ private: |
bool fPerspAnim; |
bool fRequestGrabImage; |
bool fMeasureFPS; |
- SkMSec fMeasureFPS_Time; |
- SkMSec fMeasureFPS_StartTime; |
+ WallTimer fTimer; |
+ double fMeasureFPS_Time; |
bool fMagnify; |
int fTilingMode; |