aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/BitmapRectBench.cpp
diff options
context:
space:
mode:
authorGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-04 20:29:03 +0000
committerGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-04 20:29:03 +0000
commit7c7292c6071898d73dc935c3b66b9816183806f0 (patch)
tree188d85e4d1ff6f3148b604208cca8629c782d274 /bench/BitmapRectBench.cpp
parentf7b62d6ff20074c27660550dbe59155cf6a860b5 (diff)
Added a new function to directly generate a blurred rectangle analytically.
Added two new microbenchmarks to demonstrate speedup over existing BlurSeparable approach. Added new GM tests for blurred rectangles. Review URL: https://codereview.appspot.com/7037050 git-svn-id: http://skia.googlecode.com/svn/trunk@7034 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/BitmapRectBench.cpp')
-rw-r--r--bench/BitmapRectBench.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bench/BitmapRectBench.cpp b/bench/BitmapRectBench.cpp
index 4391626d89..f2f9e4c395 100644
--- a/bench/BitmapRectBench.cpp
+++ b/bench/BitmapRectBench.cpp
@@ -70,7 +70,6 @@ protected:
}
virtual void onDraw(SkCanvas* canvas) {
- SkIPoint dim = this->getSize();
SkRandom rand;
SkPaint paint;