Bug 268927
| Summary: | [UnifiedPDF] Selection painting requests should be optimized by specifying dirty rects | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Abrar Rahman Protyasha <a_protyasha> |
| Component: | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/122481810>
Abrar Rahman Protyasha
Pull request: https://github.com/WebKit/WebKit/pull/25093
EWS
Committed 275359@main (76578d586084): <https://commits.webkit.org/275359@main>
Reviewed commits have been landed. Closing PR #25093 and removing active labels.