Bug 315090

Summary: Add DamageRectangleThreshold preference to tune the damage-rectangle merge limit
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: WPE WebKitAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, webkit-bug-importer
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Nikolas Zimmermann
Reported 2026-05-19 04:03:22 PDT
When damage tracking records many small dirty rectangles, the Damage class merges them into a coarser set once a maximum is reached, to bound bookkeeping cost. Until now that maximum was hardcoded to 4 in every consumer. This patch adds a DamageRectangleThreshold preference (default 4) so the limit can be tuned at runtime.
Attachments
Nikolas Zimmermann
Comment 1 2026-05-19 04:05:31 PDT
EWS
Comment 2 2026-05-26 04:15:31 PDT
Committed 313875@main (b44fdbf979af): <https://commits.webkit.org/313875@main> Reviewed commits have been landed. Closing PR #65178 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.