State reset and gpu timers added.
git-svn-id: http://skia.googlecode.com/svn/trunk@5177 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/PictureBenchmark.h b/tools/PictureBenchmark.h
index 309f570..e0fdd7f 100644
--- a/tools/PictureBenchmark.h
+++ b/tools/PictureBenchmark.h
@@ -11,6 +11,7 @@
#include "SkRefCnt.h"
#include "PictureRenderer.h"
+class BenchTimer;
class SkPicture;
class SkString;
@@ -36,6 +37,8 @@
}
}
+ BenchTimer* setupTimer();
+
#if SK_SUPPORT_GPU
void setUseGpuDevice() {
sk_tools::PictureRenderer* renderer = getRenderer();