-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WebXR] Pass depth texture in frame data #15396
[WebXR] Pass depth texture in frame data #15396
Conversation
EWS run on previous version of this PR (hash 2433c35) |
Can't land at the moment though.
|
2433c35
to
4d9c2cb
Compare
EWS run on previous version of this PR (hash 4d9c2cb) |
4d9c2cb
to
bfb68e6
Compare
EWS run on current version of this PR (hash bfb68e6) |
@mwyrzykowski tested locally and reported this is no longer an issue. |
https://bugs.webkit.org/show_bug.cgi?id=258661 rdar://111501806 Reviewed by Dean Jackson. Render to compositor provided depth-stencil buffers. * Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp: (WebCore::createAndBindCompositorTexture): (WebCore::createAndBindCompositorBuffer): (WebCore::makeEGLImageSource): (WebCore::WebXROpaqueFramebuffer::create): (WebCore::WebXROpaqueFramebuffer::~WebXROpaqueFramebuffer): (WebCore::WebXROpaqueFramebuffer::startFrame): (WebCore::WebXROpaqueFramebuffer::endFrame): (WebCore::WebXROpaqueFramebuffer::setupFramebuffer): (WebCore::WebXROpaqueFramebuffer::allocateColorStorage): (WebCore::WebXROpaqueFramebuffer::allocateDepthStencilStorage): (WebCore::WebXROpaqueFramebuffer::bindDepthStencilBuffer): * Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.h: * Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm: (WebCore::GraphicsContextGLCocoa::createAndBindEGLImage): * Source/WebCore/platform/xr/PlatformXR.h: (PlatformXR::Device::FrameData::LayerData::encode const): (PlatformXR::Device::FrameData::LayerData::decode): Canonical link: https://commits.webkit.org/266053@main
bfb68e6
to
9e2a90f
Compare
Committed 266053@main (9e2a90f): https://commits.webkit.org/266053@main Reviewed commits have been landed. Closing PR #15396 and removing active labels. |
9e2a90f
bfb68e6