From 0530c88067211818f7ce7bbfc0e92f3bdebc1f2b Mon Sep 17 00:00:00 2001 From: Mike Reed Date: Mon, 26 Sep 2016 15:33:00 -0400 Subject: 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 Reviewed-by: Florin Malita Reviewed-by: Robert Phillips --- gm/arithmode.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gm/arithmode.cpp') 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 -- cgit v1.2.3