aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/arithmode.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-09-26 15:33:00 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-09-26 20:00:07 +0000
commit0530c88067211818f7ce7bbfc0e92f3bdebc1f2b (patch)
treeeb120688e15ad6bded6417bcad13c133efd2d8e8 /gm/arithmode.cpp
parent21112deff825f6603904e5d1882dd3c2dc4c1ea8 (diff)
replace Arithmetic xfermode with imagefilter
chrome pre-cl: https://codereview.chromium.org/2369023002/ BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2595 Change-Id: Ia3f3b721854c516f3b7f8c44f71f40a8a2eeb9b4 Reviewed-on: https://skia-review.googlesource.com/2595 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'gm/arithmode.cpp')
-rw-r--r--gm/arithmode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gm/arithmode.cpp b/gm/arithmode.cpp
index 70661a0fba..f98fbf7057 100644
--- a/gm/arithmode.cpp
+++ b/gm/arithmode.cpp
@@ -15,6 +15,7 @@
#define WW 100
#define HH 32
+#ifdef SK_SUPPORT_LEGACY_ARITHMETICMODE
static SkBitmap make_bm() {
SkBitmap bm;
bm.allocN32Pixels(WW, HH);
@@ -160,3 +161,4 @@ private:
///////////////////////////////////////////////////////////////////////////////
DEF_GM( return new ArithmodeGM; )
+#endif