diff options
author | Mike Reed <reed@google.com> | 2016-09-26 18:51:24 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-09-27 10:33:06 +0000 |
commit | 403d154591275b631464854e63c6050adf083686 (patch) | |
tree | 1398cb50f863394c3f96b14f703f9a8e0e6c0065 /gm/arithmode.cpp | |
parent | ed924ceffb07d6f383aeb63eab336df4f13df0f1 (diff) |
Revert "Revert "replace Arithmetic xfermode with imagefilter""
This reverts commit 10ff5bfa789b6b602464e8511fdf676c6f5b1bd4.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2680
TBR=
Change-Id: Iac2f4d48d227ff426ccf02b7eae280f382ad3580
Reviewed-on: https://skia-review.googlesource.com/2680
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'gm/arithmode.cpp')
-rw-r--r-- | gm/arithmode.cpp | 2 |
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 |