aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/core/SkRasterPipelineBlitter.cpp10
-rw-r--r--src/jumper/SkJumper.cpp4
2 files changed, 0 insertions, 14 deletions
diff --git a/src/core/SkRasterPipelineBlitter.cpp b/src/core/SkRasterPipelineBlitter.cpp
index d2eb09988d..187a2a58ea 100644
--- a/src/core/SkRasterPipelineBlitter.cpp
+++ b/src/core/SkRasterPipelineBlitter.cpp
@@ -305,15 +305,6 @@ void SkRasterPipelineBlitter::blitRect(int x, int y, int w, int h) {
if (!fBlitRect) {
SkRasterPipeline p(fAlloc);
p.extend(fColorPipeline);
- #if defined(SK_LEGACY_LOWP_STAGES)
- if (fBlend == SkBlendMode::kSrcOver
- && fDst.info().colorType() == kRGBA_8888_SkColorType
- && !fDst.colorSpace()
- && fDst.info().alphaType() != kUnpremul_SkAlphaType
- && fDitherRate == 0.0f) {
- p.clamp_if_unclamped(kPremul_SkAlphaType);
- p.append(SkRasterPipeline::srcover_rgba_8888, &fDstPtr);
- #else
if (fBlend == SkBlendMode::kSrcOver
&& (fDst.info().colorType() == kRGBA_8888_SkColorType ||
fDst.info().colorType() == kBGRA_8888_SkColorType)
@@ -325,7 +316,6 @@ void SkRasterPipelineBlitter::blitRect(int x, int y, int w, int h) {
? SkRasterPipeline::srcover_rgba_8888
: SkRasterPipeline::srcover_bgra_8888;
p.append(stage, &fDstPtr);
- #endif
} else {
if (fBlend != SkBlendMode::kSrc) {
this->append_load_dst(&p);
diff --git a/src/jumper/SkJumper.cpp b/src/jumper/SkJumper.cpp
index db167abbdf..bd46723b2d 100644
--- a/src/jumper/SkJumper.cpp
+++ b/src/jumper/SkJumper.cpp
@@ -228,13 +228,9 @@ extern "C" {
LOWP(exclusion)
LOWP(hardlight)
LOWP(overlay)
-#if defined(SK_LEGACY_LOWP_STAGES)
- LOWP(seed_shader) LOWP(matrix_2x3) LOWP(gather_8888)
-#else
LOWP(seed_shader)
LOWP(matrix_translate) LOWP(matrix_scale_translate) LOWP(matrix_2x3) LOWP(matrix_perspective)
LOWP(gather_8888) LOWP(gather_bgra) LOWP(gather_565) LOWP(gather_a8) LOWP(gather_g8)
-#endif
#undef LOWP
#endif