Bug 253927
| Summary: | ReleaseSerializedImageBuffer doesn't release the underlying IOSurface | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, tzvetelin.vassilev, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matt Woodrow
We're adding a read reference in the RemoteSerializedImageBufferProxy constructor, and we never have any reads happen if we destroy the RemoteSerializedImageBufferProxy without transferring to an ImageBuffer.
This shouldn't happen often, but can happen if you draw to an OffscreenCanvas, call `commit()`, and then draw again quickly (not waiting for rAF).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/11534
EWS
Committed 261703@main (284c71ac630f): <https://commits.webkit.org/261703@main>
Reviewed commits have been landed. Closing PR #11534 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/106767160>
Matt Woodrow
*** Bug 254974 has been marked as a duplicate of this bug. ***