add BitmapBench
git-svn-id: http://skia.googlecode.com/svn/trunk@83 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/SkBenchmark.cpp b/bench/SkBenchmark.cpp
index 5d22b70..853afb3 100644
--- a/bench/SkBenchmark.cpp
+++ b/bench/SkBenchmark.cpp
@@ -1,6 +1,8 @@
#include "SkBenchmark.h"
#include "SkPaint.h"
+template BenchRegistry* BenchRegistry::gHead;
+
SkBenchmark::SkBenchmark() {
fForceAlpha = 0xFF;
fForceAA = true;
@@ -23,4 +25,8 @@
paint->setAntiAlias(fForceAA);
}
+///////////////////////////////////////////////////////////////////////////////
+SkIPoint SkBenchmark::onGetSize() {
+ return SkMakeIPoint(640, 480);
+}