Blender Git Loki

Git Commits -> Revision 1c0e22b

Revision 1c0e22b by Nicolas Fauvet (master)
May 7, 2020, 12:38 (GMT)
VR: Fix OpenXR state freeze on Oculus after taking off HMD

With the Oculus runtime, the VR session would freeze when taking off the HMD
and putting it back on. This was caused by the deletion of graphics resources
too early in the OpenXR state machine, at least for Oculus.
The resources will now only be freed once the session is actually destroyed.

Also fixes an issue where it wasn't possible to stop the session via the UI
when the HMD was taken off.

Reviewed By: Julian Eisel

Differential Revision: https://developer.blender.org/D7635

Commit Details:

Full Hash: 1c0e22b98294f639036c001c72980dd2e49f62b4
Parent Commit: ed1fb24
Committed By: Julian Eisel
Lines Changed: +20, -13

3 Modified Paths:

/intern/ghost/intern/GHOST_XrContext.cpp (+8, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+10, -11) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021