Bug 323954
| Summary: | NativeImage should have a method of obtaining its backing IOSurface | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> |
| Component: | New Bugs | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/187188834>