From b2b5f2beaafe750de61fdc28a6e6972374fb3988 Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Wed, 16 Jun 2021 16:06:13 -0400 Subject: [PATCH] Switch back to non-SkSL matrix color filter for all clients Chrome never made the switch, and if we want to support stripping SkSL in CPU builds, we'll want to backtrack here a bit. Change-Id: I46aba6d0bddd09f6c37a90d9b996e3e28ce66c68 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/419157 Reviewed-by: Mike Reed Commit-Queue: Brian Osman --- src/core/SkColorFilter_Matrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/SkColorFilter_Matrix.cpp b/src/core/SkColorFilter_Matrix.cpp index 53ec0448ad..5b32992817 100644 --- a/src/core/SkColorFilter_Matrix.cpp +++ b/src/core/SkColorFilter_Matrix.cpp @@ -156,7 +156,7 @@ static sk_sp MakeMatrix(const float array[20], if (!sk_floats_are_finite(array, 20)) { return nullptr; } -#if defined(SK_SUPPORT_LEGACY_RUNTIME_EFFECTS) +#if 1 return sk_make_sp(array, domain); #else const bool alphaUnchanged = SkScalarNearlyEqual(array[15], 0)