[webkit-changes] [WebKit/WebKit] 6f211b: Cherry-pick 284757 at main (7f5e13b54893). https://bu...
Przemyslaw Gorszkowski
noreply at github.com
Mon Oct 7 05:48:12 PDT 2024
Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: 6f211be22cef3b16093f9b21b7aab2e4db04319b
https://github.com/WebKit/WebKit/commit/6f211be22cef3b16093f9b21b7aab2e4db04319b
Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
Date: 2024-10-07 (Mon, 07 Oct 2024)
Changed paths:
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h
Log Message:
-----------
Cherry-pick 284757 at main (7f5e13b54893). https://bugs.webkit.org/show_bug.cgi?id=280612
[WPE][GTK] visible rect in case animations is not correctly calculated
https://bugs.webkit.org/show_bug.cgi?id=280612
Reviewed by Miguel Gomez.
For animations starting partially outside the viewport were not fully rendered when
the first frame entered the visible area. This caused incomplete or cut-off frames
during the initial stages of the animation. The issue was more noticeable on low-end
devices(RPi) or during slow-motion or frame-by-frame analysis of the recordings on x86.
With this change the visible rect is extended with the elements which are currently
not fully visible but they will be in a future bacause of animations.
Y* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::transformedVisibleRectIncludingFuture):
(WebCore::CoordinatedGraphicsLayer::updateContentBuffers):
(WebCore::CoordinatedGraphicsLayer::computeTransformedVisibleRect):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
Canonical link: https://commits.webkit.org/284757@main
Canonical link: https://commits.webkit.org/282416.194@webkitglib/2.46
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