This changes Gfx::ScalingMode to reflect the three modes of scaling we support using Skia, which makes it a bit easier to reason about the mode to select. New is ::BilinearMipmap, which uses linear interpolation between mipmap levels to produce higher quality downscaled images. The cubic resampling options Mitchell and its sibling CatmullRom both produced weird artifacts or resulted in a worse quality than BilinearMipmap when downscaling. We might not have been using these correctly, but the new ::BilinearMipmap method seems to mirror what Chrome uses for downscaled images. |
||
|---|---|---|
| .. | ||
| angled-stripes.png | ||
| background-no-repeat.html | ||
| background-repeat-x.html | ||
| background-repeat-y.html | ||
| background-repeat.html | ||
| car.png | ||
| smiley.png | ||
| variable-font-example.woff2 | ||
| vertical-rect.svg | ||