Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Unified Diff: gm/blurcircles.cpp

Issue 1311583005: Add special case circle blur for Ganesh (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gyp/effects.gypi » ('j') | include/core/SkColor.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/blurcircles.cpp
diff --git a/gm/blurcircles.cpp b/gm/blurcircles.cpp
index e4f956fc43adb94b8a6b7f8f0c1d83c8e537836a..57a0e63fb412b37075471534897327ab6518fbd0 100644
--- a/gm/blurcircles.cpp
+++ b/gm/blurcircles.cpp
@@ -19,6 +19,7 @@ public:
}
protected:
+ bool runAsBench() const override { return true; }
SkString onShortName() override {
return fName;
@@ -48,6 +49,7 @@ protected:
canvas->drawCircle(SkIntToScalar(50),SkIntToScalar(50),SkIntToScalar(circleRadii[j]),paint);
canvas->translate(SkIntToScalar(150), 0);
+
}
}
}
« no previous file with comments | « no previous file | gyp/effects.gypi » ('j') | include/core/SkColor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698