[webkit-changes] [WebKit/WebKit] 27a90c: [CoordinatedGraphics] Pass a FloatRect to paintGra...
Carlos Garcia Campos
noreply at github.com
Wed Oct 2 05:15:33 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 27a90c607256b8c89962938904aa615c128488f5
https://github.com/WebKit/WebKit/commit/27a90c607256b8c89962938904aa615c128488f5
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-10-02 (Wed, 02 Oct 2024)
Changed paths:
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayerSkia.cpp
Log Message:
-----------
[CoordinatedGraphics] Pass a FloatRect to paintGraphicsLayerContents()
https://bugs.webkit.org/show_bug.cgi?id=280741
Reviewed by Nikolas Zimmermann.
We currently pass an IntRect created from a FloatRect using
enclosingIntRect(). paintGraphicsLayerContents() receives a FloatRect
that is adjusted for the subpixel offset and used to create a dirty rect
with enclosingIntRect() in RenderLayerBacking::paintContents().
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayerSkia.cpp:
(WebCore::CoordinatedGraphicsLayer::paintIntoGraphicsContext const):
Canonical link: https://commits.webkit.org/284556@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list