Blender Git Loki
Git Commits -> Revision 6904ab1
Revision 6904ab1 by Julian Eisel (soc-2019-openxr, temp-vr-draw-thread, vamr-openxr-module, vr_scene_inspection) July 7, 2019, 10:45 (GMT) |
Add GHOST_XrSession class for cleaner & safer session management Session code and data structures are now localized. But also, this enables sessions to use deterministic destruction to end itself cleanly. So whenever an error occurs, we can use stack unwinding which will cause graceful ending of the session. |
Commit Details:
Full Hash: 6904ab10f4897fe3f82748e7f22833a2ac990d2a
Parent Commit: 146ef0d
Lines Changed: +310, -205
1 Added Path:
/intern/ghost/intern/GHOST_XrSession.h (+82, -0) (View)
7 Modified Paths:
/intern/ghost/CMakeLists.txt (+1, -1) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+1, -0) (Diff)
/intern/ghost/intern/GHOST_XR.cpp (+42, -21) (Diff)
/intern/ghost/intern/GHOST_XREvent.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+166, -151) (Diff)
/intern/ghost/intern/GHOST_XR_intern.h (+13, -27) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+1, -1) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+1, -0) (Diff)
/intern/ghost/intern/GHOST_XR.cpp (+42, -21) (Diff)
/intern/ghost/intern/GHOST_XREvent.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+166, -151) (Diff)
/intern/ghost/intern/GHOST_XR_intern.h (+13, -27) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+1, -1) (Diff)