Blender Git Loki
Git Commits -> Revision c1e9cf0
Revision c1e9cf0 by Julian Eisel (soc-2019-openxr, temp-vr-draw-thread, vamr-openxr-module, vr_scene_inspection) July 10, 2019, 21:53 (GMT) |
Refactor GHOST_XrContext into class + interface Makes GHOST_Xr much more consistent with the rest of GHOST. Basically I added a GHOST_IXrContext interface which can be called by the GHOST C-API. The internal GHOST_XrContext class implements this. Outside of GHOST only the opaque GHOST_XrContextHandle is accessible. Kept GHOST_Xr_intern.h and GHOST_Xr.cpp for now. I'll probably remove them soon. There's not much reason for both of them to be there. |
Commit Details:
Full Hash: c1e9cf00ac0a6eb860dda22e3ca05d204c2759b3
Parent Commit: 84d609f
Lines Changed: +660, -456
3 Added Paths:
/intern/ghost/GHOST_IXrContext.h (+40, -0) (View)
/intern/ghost/intern/GHOST_XrContext.cpp (+423, -0) (View)
/intern/ghost/intern/GHOST_XrContext.h (+100, -0) (View)
/intern/ghost/intern/GHOST_XrContext.cpp (+423, -0) (View)
/intern/ghost/intern/GHOST_XrContext.h (+100, -0) (View)
12 Modified Paths:
/intern/ghost/CMakeLists.txt (+2, -0) (Diff)
/intern/ghost/GHOST_C-api.h (+9, -9) (Diff)
/intern/ghost/GHOST_Types.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+44, -1) (Diff)
/intern/ghost/intern/GHOST_XR.cpp (+7, -372) (Diff)
/intern/ghost/intern/GHOST_XREvent.cpp (+7, -6) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+18, -14) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+2, -4) (Diff)
/intern/ghost/intern/GHOST_XR_intern.h (+2, -47) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+3, -1) (Diff)
/source/blender/windowmanager/wm.h (+1, -1) (Diff)
/intern/ghost/GHOST_C-api.h (+9, -9) (Diff)
/intern/ghost/GHOST_Types.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+44, -1) (Diff)
/intern/ghost/intern/GHOST_XR.cpp (+7, -372) (Diff)
/intern/ghost/intern/GHOST_XREvent.cpp (+7, -6) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+18, -14) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+2, -4) (Diff)
/intern/ghost/intern/GHOST_XR_intern.h (+2, -47) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+3, -1) (Diff)
/source/blender/windowmanager/wm.h (+1, -1) (Diff)