Bug 257173
| Summary: | MachSendRights can release their IOSurface use-counts before CA adds a new ones | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matt Woodrow
CoreAnimation doesn't add a new use-count to CAIOSurfaces until the transaction is committed, which is after the MachSendRight (inside LayerTreeTransaction/RemoteLayerBackingStoreProperties) is destroyed.
We should run an explicit CATransaction for layer tree commits to ensure that we always have a use-count added.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/109687766>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/14222
EWS
Committed 264617@main (a59adccf52b4): <https://commits.webkit.org/264617@main>
Reviewed commits have been landed. Closing PR #14222 and removing active labels.