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 RenderingAssignee: 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
Reported 2023-05-22 17:23:46 PDT
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
Radar WebKit Bug Importer
Comment 1 2023-05-22 17:23:57 PDT
Matt Woodrow
Comment 2 2023-05-22 17:29:13 PDT
EWS
Comment 3 2023-05-26 20:48:32 PDT
Committed 264617@main (a59adccf52b4): <https://commits.webkit.org/264617@main> Reviewed commits have been landed. Closing PR #14222 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.