Bug 323954

Summary: NativeImage should have a method of obtaining its backing IOSurface
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 323953    

Kimmo Kinnunen
Reported 2026-09-11 01:39:10 PDT
can be fixed by "just" storing the info in NativeImage at the construction time. So NativeImage::create(RetainPtr<CVPixelBuffer>,...) can be currently used to wrap the IOSurfaceful NativeImage. We can retain also the CVPixelBuffer ref in the NativeImage, and use that to obtain the IOSurface.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-09-11 01:39:18 PDT
Note You need to log in before you can comment on or make changes to this bug.