Skip to content

Commit 6590ce2

Browse files
author
Genkzsz11
committed
Revert "Apply bilinear filter for Ninepatch."
This reverts commit 382098e.
1 parent c20cbff commit 6590ce2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

libs/hwui/pipeline/skia/SkiaRecordingCanvas.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,7 @@ void SkiaRecordingCanvas::drawNinePatch(Bitmap& bitmap, const Res_png_9patch& ch
301301
}
302302
sk_sp<SkImage> image = bitmap.makeImage();
303303

304-
applyLooper(get_looper(paint), *filterBitmap(std::move(filteredPaint)),
305-
[&](SkScalar x, SkScalar y, const SkPaint& p) {
304+
applyLooper(get_looper(paint), *filterBitmap(paint), [&](SkScalar x, SkScalar y, const SkPaint& p) {
306305
mRecorder.drawImageLattice(image, lattice, dst.makeOffset(x, y), &p, bitmap.palette());
307306
});
308307

0 commit comments

Comments
 (0)