Bug 268608
| Summary: | Draws to unused 2D contexts may consume excessive amount of memory on Cocoa | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
| Component: | Canvas | Assignee: | Kimmo Kinnunen <kkinnunen> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | dino, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Kimmo Kinnunen
Unused canvas draws consume memory
Draw canvas A to 2d context B
Update canvas A
Draw canvas A to 2d context B
Update canvas A
Draw canvas A to 2d context B
Don't use canvas B
Cauese each draw to stay in context B queue, as the results are not used.
Causes each update to A to migrate the data to COW buffer
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Kimmo Kinnunen
<rdar://117708049>
Kimmo Kinnunen
Pull request: https://github.com/WebKit/WebKit/pull/23733
EWS
Committed 274164@main (da9744107a30): <https://commits.webkit.org/274164@main>
Reviewed commits have been landed. Closing PR #23733 and removing active labels.