Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cairo] Use CAIRO_FILTER_BILINEAR for low interpolation quality
https://bugs.webkit.org/show_bug.cgi?id=264605 Reviewed by Fujii Hironori. We currently use CAIRO_FILTER_FAST which is the same as no interpolation. Bilinear provides reasonable quality with good enough performance. Also change the default interpolation quality of the canvas to Low (like CG does) which drastically improves the performance of downscaling high resolution images in the canvas with a reasonable output. See for example https://vsynctester.com * Source/WebCore/html/CanvasBase.cpp: * Source/WebCore/platform/graphics/cairo/CairoOperations.cpp: (WebCore::Cairo::drawSurface): Canonical link: https://commits.webkit.org/270586@main
- Loading branch information