Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5cf17abd2c469c1a6f43196c63a64a620aa9b82c
https://github.com/WebKit/WebKit/commit/5cf17abd2c469c1a6f43196c63a64a620aa9b82c
Author: Carlos Garcia Campos <[email protected]>
Date: 2026-05-05 (Tue, 05 May 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
Log Message:
-----------
[GTK][WPE] Skia Compositor: use the surface rectangle as destination when
painting intermediate surfaces
https://bugs.webkit.org/show_bug.cgi?id=314064
Reviewed by Nikolas Zimmermann.
The surface rectangle is the intersection of the contents rectangle and
current clip, if it's smaller than the contents rect when using the
contents rect as destination of drawImageRect in the parent canvas the
contents are scaled. We should use the surface rect as the destination
rectangle to make sure the size matches the image size and it's never
scaled.
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::paintWithIntermediateSurface):
Canonical link: https://commits.webkit.org/312607@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications