Closed Bug 1638123 Opened 4 months ago Closed 4 months ago

Call WebGLContext::ClearVRFrame when ending WebXR session.

Categories

(Core :: WebVR, enhancement)

All
Android
enhancement

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mortimergoro, Assigned: mortimergoro)

Details

Attachments

(1 file)

In WebVR we call WebGLContext::ClearVRFrame when the presentation ends. We didn't have the equivalent call in WebXR. It helps to reduce memory usage earlier when exiting WebXR and reduces potential deadlocks if the ExternalVR client didn't call SurfaceTexture->Release() correctly.

Assignee: nobody → imanol

In WebVR we call WebGLContext::ClearVRFrame when the presentation ends. We didn't have the equivalent call in WebXR. It helps to reduce memory usage earlier when exiting WebXR and reduces potential deadlocks if the ExternalVR client didn't call SurfaceTexture->ReleaseTexImage() correctly.

Pushed by rbarker@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e282e2fd1200
Call WebGLContext::ClearVRFrame when ending WebXR session. r=jgilbert,kip,daoshengmu
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.