WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
226947
WebXR tests often fail due to running out of GraphicsContextGLs
https://bugs.webkit.org/show_bug.cgi?id=226947
Summary
WebXR tests often fail due to running out of GraphicsContextGLs
Sam Weinig
Reported
2021-06-11 18:07:53 PDT
SimulatedXRDevice::shutDownTrackingAndRendering() should clear its GraphicsContextGL to ensure the resource is cleaned up quickly, and doesn't wait for GC to be reclaimed. Without this, we can run out of GraphicsContextGLs (e.g. GraphicsContextGLOpenGLManager::hasTooManyContexts()) and fail tests if GC happens to be running a bit behind.
Attachments
Patch
(1.48 KB, patch)
2021-06-11 18:09 PDT
,
Sam Weinig
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2021-06-11 18:09:29 PDT
Created
attachment 431247
[details]
Patch
Sam Weinig
Comment 2
2021-06-11 18:15:16 PDT
The test I used for this was: `run-webkit-tests imported/w3c/web-platform-tests/webxr/xrDevice_requestSession_immersive.https.html --repeat=40` Prior to this change it would fail periodically, now it passes 100%.
EWS
Comment 3
2021-06-13 11:42:52 PDT
Committed
r278820
(
238773@main
): <
https://commits.webkit.org/238773@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 431247
[details]
.
Radar WebKit Bug Importer
Comment 4
2021-06-13 11:43:19 PDT
<
rdar://problem/79263505
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug