Bug 275806

Summary: [TexMap] Produce damage for layers repainted after animation
Product: WebKit Reporter: Adrian Perez <aperez>
Component: CompositingAssignee: Pawel Lampe <plampe>
Status: RESOLVED FIXED    
Severity: Normal CC: plampe, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=277484
https://bugs.webkit.org/show_bug.cgi?id=284808
Bug Depends on: 265777    
Bug Blocks:    

Adrian Perez
Reported 2024-06-24 02:45:45 PDT
Transformed animated layers are painted with lower resolution while an animation is ongoing, and re-painted after the animation has ended to make sure they look their best at their resting position. When using damage tracking with an output that uses device scaling != 1x (e.g. with 2x scaling on a HiDPI screen) it is quite obvious that the repaint at the resting position after the animation is *not* producing damage rectangles because when damage is enabled the previous painted contents (with less resolution) are left in place because the location and properties of the layers have not changed. Likely we are missing some check like “if there was a paint with different resolution then damage the area” or similar.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-07-01 02:46:13 PDT
Pawel Lampe
Comment 2 2025-05-23 03:29:20 PDT
Looks like this is not reproducible anymore after the improvements that were done to the damaging throughout previous months.
Note You need to log in before you can comment on or make changes to this bug.