Index: bench/DeferredCanvasBench.cpp |
diff --git a/bench/DeferredCanvasBench.cpp b/bench/DeferredCanvasBench.cpp |
index 6bf4dfdc3b866f323baadf0dcb1a235a0a2bdd3b..b063a9c2dddb75964fd000a354658bcba6cd35a8 100644 |
--- a/bench/DeferredCanvasBench.cpp |
+++ b/bench/DeferredCanvasBench.cpp |
@@ -25,6 +25,7 @@ protected: |
} |
virtual void onDraw(const int loops, SkCanvas* canvas) { |
+#if 0 // what specifically are we interested in timing here? |
SkBaseDevice *device = canvas->getDevice()->createCompatibleDevice( |
SkBitmap::kARGB_8888_Config, CANVAS_WIDTH, CANVAS_HEIGHT, false); |
@@ -35,6 +36,7 @@ protected: |
drawInDeferredCanvas(loops, deferredCanvas); |
finalizeDeferredCanvas(deferredCanvas); |
deferredCanvas->flush(); |
+#endif |
} |
virtual void initDeferredCanvas(SkDeferredCanvas* canvas) = 0; |