[Webkit-unassigned] [Bug 248264] New: [WebXR] Disarm GCGLOwned object destructors when GraphicsContextGL is NULL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 23 00:24:38 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=248264
Bug ID: 248264
Summary: [WebXR] Disarm GCGLOwned object destructors when
GraphicsContextGL is NULL
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebXR
Assignee: webkit-unassigned at lists.webkit.org
Reporter: djg at apple.com
It's possible to destroy the underlying GraphicsContextGL before
WebXROpaqueFramebuffer's destructor runs. For example, when creating too WebGL
contexts, the context associated with a WebXROpaqueFramebuffer will be lost.
The GCGLOwned objects exist to catch when the user forgets to clean up. In this
case, where the GraphicsContextGL is NULL at destruction time, there's nothing
to do but reset the GCGLOwned objects, preventing their destructors from
asserting in debug builds.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221123/e8b95913/attachment-0001.htm>
More information about the webkit-unassigned
mailing list