Changeset 278312 in webkit
- Timestamp:
- Jun 1, 2021, 10:19:04 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Modules/webxr/WebXROpaqueFramebuffer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r278311 r278312 1 2021-06-01 Dean Jackson <dino@apple.com> 2 3 [WebXR] Attach IOSurface to WebXROpaqueFramebuffer 4 https://bugs.webkit.org/show_bug.cgi?id=225896 5 <rdar://problem/78128289> 6 7 Add a null check to fix a test crash. 8 9 * Modules/webxr/WebXROpaqueFramebuffer.cpp: 10 (WebCore::WebXROpaqueFramebuffer::startFrame): 11 1 12 2021-06-01 Sam Weinig <weinig@apple.com> 2 13 -
trunk/Source/WebCore/Modules/webxr/WebXROpaqueFramebuffer.cpp
r278295 r278312 117 117 118 118 #if USE(IOSURFACE_FOR_XR_LAYER_DATA) 119 if (!data.surface) 120 return; 121 119 122 auto gCGL = static_cast<GraphicsContextGLOpenGL*>(m_context.graphicsContextGL()); 120 123 GCGLenum textureTarget = GraphicsContextGLOpenGL::drawingBufferTextureTarget(); 121 124 122 125 auto size = data.surface->size(); 126 if (!size.width() || !size.height()) 127 return; 123 128 124 129 if (!m_opaqueTexture)
Note:
See TracChangeset
for help on using the changeset viewer.