Closed Bug 1411838 Opened 7 years ago Closed 7 years ago

Enable WebVR reftest for Windows debug

Categories

(Core :: WebVR, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: daoshengmu, Assigned: daoshengmu)

Details

Attachments

(2 files)

Because we have done the implementation of sending the TextureSurface from WebGL texture directly instead of CopySurface from it. We no longer hit the assertion of glError. We can enable our WebVR reftest for Windows debug now.
Assignee: nobody → dmu
(In reply to Daosheng Mu[:daoshengmu] from comment #0)
 Because we have done the implementation of sending the SurfaceDescriptor from
> WebGL texture directly instead of CopySurface from it. We no longer hit the
> assertion of glError. We can enable our WebVR reftest for Windows debug now.
After enabling the test in debug, it will happen an assertion. I notice the reason is that VRLayerParent is a weak pointer but be stored in a refptr array at VRDisplayHost. That will cause assertion when VRLayerParent is calling its destructor. That needs to be fixed by making the array as a weakptr array.


This bug needs to wait for Bug 1415762 land because the DispatchVREvents task need to be canceled when the thread is shutdown, otherwise, it would be dispatch to the main thread and hit an assertion that is not our intention.
Comment on attachment 8926689 [details]
Bug 1411838 - Part 1: Enable WebVR reftest for Windows debug;

https://reviewboard.mozilla.org/r/197936/#review203352

LGTM, Thanks!
Attachment #8926689 - Flags: review?(kgilbert) → review+
Comment on attachment 8926690 [details]
Bug 1411838 - Part 2: Fix non thread-safe objects in VR;

https://reviewboard.mozilla.org/r/197938/#review203354

Good catch, thanks!
Attachment #8926690 - Flags: review?(kgilbert) → review+
Pushed by dmu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6dbb8758e13c
Part 1: Enable WebVR reftest for Windows debug; r=kip
https://hg.mozilla.org/integration/autoland/rev/c413c58c311d
Part 2: Fix non thread-safe objects in VR; r=kip
https://hg.mozilla.org/mozilla-central/rev/6dbb8758e13c
https://hg.mozilla.org/mozilla-central/rev/c413c58c311d
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: