aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BlurTest.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2018-04-05 16:33:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-06 15:02:03 +0000
commit0cfd547b465a3611506dc4c4c0ba973ccb2e7f30 (patch)
treeceda689fccbf696516c6e3f3c82e701794a73bc2 /tests/BlurTest.cpp
parentc1b9c1005f1e07558c0d32cf8f80d022b312719e (diff)
Remove SK_SUPPORT_LEGACY_BLURMASKFILTER
Change-Id: I1d99d9bb83d8a612d1c1fd298c1f7ed706a2277b Reviewed-on: https://skia-review.googlesource.com/118990 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'tests/BlurTest.cpp')
-rw-r--r--tests/BlurTest.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp
index 50bc4d799e..b606064448 100644
--- a/tests/BlurTest.cpp
+++ b/tests/BlurTest.cpp
@@ -383,9 +383,6 @@ static void test_blurDrawLooper(skiatest::Reporter* reporter, SkScalar sigma, Sk
REPORTER_ASSERT(reporter, rec.fOffset.y() == dy);
REPORTER_ASSERT(reporter, rec.fColor == color);
REPORTER_ASSERT(reporter, rec.fStyle == style);
-#ifdef SK_SUPPORT_LEGACY_BLURMASKFILTER
- REPORTER_ASSERT(reporter, rec.fQuality == kHigh_SkBlurQuality);
-#endif
}
}
}
@@ -401,9 +398,6 @@ static void test_looper(skiatest::Reporter* reporter, sk_sp<SkDrawLooper> lp, Sk
if (success) {
REPORTER_ASSERT(reporter, rec.fSigma == sigma);
REPORTER_ASSERT(reporter, rec.fStyle == style);
-#ifdef SK_SUPPORT_LEGACY_BLURMASKFILTER
- REPORTER_ASSERT(reporter, rec.fQuality == kHigh_SkBlurQuality);
-#endif
}
}
@@ -478,9 +472,6 @@ DEF_TEST(BlurAsABlur, reporter) {
REPORTER_ASSERT(reporter, success);
REPORTER_ASSERT(reporter, rec.fSigma == sigma);
REPORTER_ASSERT(reporter, rec.fStyle == style);
-#ifdef SK_SUPPORT_LEGACY_BLURMASKFILTER
- REPORTER_ASSERT(reporter, rec.fQuality == kHigh_SkBlurQuality);
-#endif
} else {
REPORTER_ASSERT(reporter, !success);
}