From 2c770271e612376508c18793c7067598378a00d9 Mon Sep 17 00:00:00 2001 From: reed Date: Thu, 18 Dec 2014 12:59:39 -0800 Subject: [PATCH] Revert of enable new gradients + suppress gms for now (patchset #1 id:1 of https://codereview.chromium.org/807513004/) Reason for revert: crashy Original issue's description: > enable new gradients + suppress gms for now > > BUG=skia: > TBR= > NOTRY=True > > Committed: https://skia.googlesource.com/skia/+/8142a57fa1bf582b66efde276cd43d40c525bc16 TBR= NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/814963002 --- expectations/gm/ignored-tests.txt | 11 ----------- src/effects/gradients/SkClampRange.h | 2 ++ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/expectations/gm/ignored-tests.txt b/expectations/gm/ignored-tests.txt index 508077f884..5ee655fcb7 100644 --- a/expectations/gm/ignored-tests.txt +++ b/expectations/gm/ignored-tests.txt @@ -51,17 +51,6 @@ imagemagnifier #reed modecolorfilters -#reed -gammagradienttext -composeshader_alpha -composeshader -c_gms -alphagradients -arithmode -colorcube -lightingcolorfilter - - #joshualitt bleed blurrects diff --git a/src/effects/gradients/SkClampRange.h b/src/effects/gradients/SkClampRange.h index 2f7bf6e09a..a71009d654 100644 --- a/src/effects/gradients/SkClampRange.h +++ b/src/effects/gradients/SkClampRange.h @@ -11,6 +11,8 @@ #include "SkFixed.h" #include "SkScalar.h" +#define SK_SUPPORT_LEGACY_GRADIENT_PRECISION + #ifdef SK_SUPPORT_LEGACY_GRADIENT_PRECISION #define SkGradFixed SkFixed #define SkScalarToGradFixed SkScalarToFixed