forked from WebPlatformForEmbedded/WPEWebKit
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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. * 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:
- Loading branch information
1 parent
22b825d
commit 0213783
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters