Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 2bebfdc1ea6d02362f3b549004940f2ef8ea28e2 https://github.com/WebKit/WebKit/commit/2bebfdc1ea6d02362f3b549004940f2ef8ea28e2 Author: Tim Horton <thor...@apple.com> Date: 2025-04-07 (Mon, 07 Apr 2025)
Changed paths: M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFScrollingPresentationController.mm Log Message: ----------- [UnifiedPDF] Selection layer should follow scrollability of the PDF content tiles, to avoid churning the IOSurfacePool https://bugs.webkit.org/show_bug.cgi?id=291214 rdar://148762232 Reviewed by Abrar Rahman Protyasha. * Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFScrollingPresentationController.mm: (WebKit::PDFScrollingPresentationController::updateForCurrentScrollability): Propagate scrollability to the selection layer as well! This makes the main PDF contents and selection layer use the same tile size, which helps with surface pool hit rate. Canonical link: https://commits.webkit.org/293378@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes