aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkBlitter.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-06-29 08:53:35 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-29 13:21:53 +0000
commit4a0f180211dbcf5c400f797aafe6cc3ff6fc021f (patch)
treef47233d47c8b00016e9416dc2a15fcb4cb59d3aa /src/core/SkBlitter.cpp
parentbb3bf14ad1c7763a4b25ca314cd8271113ef8b34 (diff)
remove unused flag SK_SUPPORT_LEGACY_COLORFILTER_FILTERSPAN
Bug: skia: Change-Id: I884f79f9a162f38365930d1ccca889fca2850557 Reviewed-on: https://skia-review.googlesource.com/21202 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkBlitter.cpp')
-rw-r--r--src/core/SkBlitter.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkBlitter.cpp b/src/core/SkBlitter.cpp
index e8e2bd3953..418ac242f8 100644
--- a/src/core/SkBlitter.cpp
+++ b/src/core/SkBlitter.cpp
@@ -795,11 +795,9 @@ bool SkBlitter::UseRasterPipelineBlitter(const SkPixmap& device, const SkPaint&
if (paint.getShader() && as_SB(paint.getShader())->isRasterPipelineOnly()) {
return true;
}
-#ifndef SK_SUPPORT_LEGACY_COLORFILTER_FILTERSPAN
if (paint.getColorFilter()) {
return true;
}
-#endif
#ifndef SK_SUPPORT_LEGACY_HQ_SCALER
if (paint.getFilterQuality() == kHigh_SkFilterQuality) {
return true;