remove unneeded SK_LEGACY_BLITTER_CHOICE flag
Change-Id: If49be9fb6eac9b2af40898313e000855604be9f3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295829 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
parent
de2bca28cb
commit
e8685bc957
@ -660,14 +660,6 @@ bool SkBlitter::UseRasterPipelineBlitter(const SkPixmap& device, const SkPaint&
|
||||
return true;
|
||||
}
|
||||
|
||||
#if defined(SK_LEGACY_BLITTER_CHOICE)
|
||||
if (matrix.hasPerspective() ||
|
||||
paint.getColorFilter() ||
|
||||
paint.getFilterQuality() == kHigh_SkFilterQuality) {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
// All the real legacy fast paths are for shaders and SrcOver.
|
||||
// Choosing SkRasterPipelineBlitter will also let us to hit its single-color memset path.
|
||||
if (!paint.getShader() && paint.getBlendMode() != SkBlendMode::kSrcOver) {
|
||||
|
Loading…
Reference in New Issue
Block a user