Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7f5e13b548931728d17ece82336f183d868b55e4
https://github.com/WebKit/WebKit/commit/7f5e13b548931728d17ece82336f183d868b55e4
Author: Przemyslaw Gorszkowski <[email protected]>
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:
-----------
[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
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes