Merge "Respect paints aa setting when drawing bitmap" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
9570000af3
@@ -176,9 +176,6 @@ void SkiaRecordingCanvas::FilterForImage(SkPaint& paint) {
|
||||
if (sApiLevel <= 27 && paint.getBlendMode() == SkBlendMode::kClear) {
|
||||
paint.setBlendMode(SkBlendMode::kDstOut);
|
||||
}
|
||||
|
||||
// disabling AA on bitmap draws matches legacy HWUI behavior
|
||||
paint.setAntiAlias(false);
|
||||
}
|
||||
|
||||
static SkFilterMode Paint_to_filter(const SkPaint& paint) {
|
||||
|
||||
Reference in New Issue
Block a user