Bug 258598
| Summary: | [WebXR] Use MTLTexture to attach color IOSurface | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dan Glastonbury <djg> |
| Component: | WebXR | Assignee: | Dan Glastonbury <djg> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Dan Glastonbury
There are two paths in WebXROpaqueFramebuffer for attaching compositor provided IOSurface for rendering: 1) Via MTLSharedTexture, and 2) Via pbuffer.
Since it's possible to create a MTLTexture from an IOSurface and plane index, switch away from using pbuffer to reduce the number of code paths.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111426880>
Dan Glastonbury
Pull request: https://github.com/WebKit/WebKit/pull/15354
EWS
Committed 265606@main (d41c610090b0): <https://commits.webkit.org/265606@main>
Reviewed commits have been landed. Closing PR #15354 and removing active labels.