mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1082598 - Part 6: Fix layers for Skia update. r=jrmuizel
This commit is contained in:
parent
71c0c0d673
commit
7c3422f7ec
@ -254,9 +254,9 @@ Transform(DataSourceSurface* aDest,
|
||||
SkPaint paint;
|
||||
paint.setXfermodeMode(SkXfermode::kSrc_Mode);
|
||||
paint.setAntiAlias(true);
|
||||
paint.setFilterLevel(SkPaint::kLow_FilterLevel);
|
||||
paint.setFilterQuality(kLow_SkFilterQuality);
|
||||
SkRect destRect = SkRect::MakeXYWH(0, 0, srcSize.width, srcSize.height);
|
||||
destCanvas.drawBitmapRectToRect(src, nullptr, destRect, &paint);
|
||||
destCanvas.drawBitmapRect(src, destRect, &paint);
|
||||
}
|
||||
#else
|
||||
static pixman_transform
|
||||
|
@ -742,9 +742,9 @@ Transform(const gfxImageSurface* aDest,
|
||||
SkPaint paint;
|
||||
paint.setXfermodeMode(SkXfermode::kSrc_Mode);
|
||||
paint.setAntiAlias(true);
|
||||
paint.setFilterLevel(SkPaint::kLow_FilterLevel);
|
||||
paint.setFilterQuality(kLow_SkFilterQuality);
|
||||
SkRect destRect = SkRect::MakeXYWH(0, 0, srcSize.width, srcSize.height);
|
||||
destCanvas.drawBitmapRectToRect(src, nullptr, destRect, &paint);
|
||||
destCanvas.drawBitmapRect(src, destRect, &paint);
|
||||
}
|
||||
#else
|
||||
static pixman_transform
|
||||
|
Loading…
Reference in New Issue
Block a user