aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-04 15:34:10 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-04 15:34:10 +0000
commit28183b4043a969df12592e8dd47cf95b80755284 (patch)
tree7d147ec215ffdd050c0d5f9b19fcf1eb714a861c /bench
parent11db6fa9b9fc30b1f504d9f53e0f6ae7149cc5c5 (diff)
remove (unused by chrome) SkDeferredCanvas(device) factory signature
BUG=skia: R=junov@chromium.org Review URL: https://codereview.chromium.org/136753016 git-svn-id: http://skia.googlecode.com/svn/trunk@13302 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench')
-rw-r--r--bench/DeferredCanvasBench.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/DeferredCanvasBench.cpp b/bench/DeferredCanvasBench.cpp
index 6bf4dfdc3b..b063a9c2dd 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;