Bug 268927

Summary: [UnifiedPDF] Selection painting requests should be optimized by specifying dirty rects
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: PDFAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2024-02-07 10:48:22 PST
Right now, when we want to (re)paint selections, we just call setNeedsDisplay on the contents layer. Instead, we should make selection painting less heavy-handed by calling setNeedsDisplayInRect with: 1. The bounds of the selection 2. Only on the pages where the selection changed
Attachments
Radar WebKit Bug Importer
Comment 1 2024-02-07 10:48:38 PST
Abrar Rahman Protyasha
Comment 2 2024-02-26 01:49:25 PST
EWS
Comment 3 2024-02-26 18:33:23 PST
Committed 275359@main (76578d586084): <https://commits.webkit.org/275359@main> Reviewed commits have been landed. Closing PR #25093 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.