Blender Git Loki
Git Commits -> Revision 231dbd5
Revision 231dbd5 by Julian Eisel (soc-2019-openxr, temp-vr-draw-thread, vamr-openxr-module, vr_scene_inspection) June 28, 2019, 14:24 (GMT) |
Support Window-less (offscreen) VR session on Windows Uses the new wmSurface type (non-window drawable container) to manage the OpenGL, DirectX and GPU module contexts. The draw callback of the XR surface calls the GHOST_Xr session drawing routines. What you should see when starting a VR session now (using the WMR runtime): The Windows Mixed Reality Portal pops up, and a blue background is drawn on the HMD. This is from the blue color clear call we do in the drawing preparations of the GHOST_Xr session drawing. |
Commit Details:
Full Hash: 231dbd53bf30f59c0dfc8cd928e0e046c57d87d2
Parent Commit: d3e48fb
Lines Changed: +105, -19
10 Modified Paths:
/intern/ghost/GHOST_C-api.h (+19, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+1, -9) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+19, -0) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+10, -0) (Diff)
/intern/ghost/intern/GHOST_System.h (+13, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+12, -8) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+21, -0) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+3, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+4, -0) (Diff)
/source/blender/windowmanager/wm_surface.h (+3, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+1, -9) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+19, -0) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+10, -0) (Diff)
/intern/ghost/intern/GHOST_System.h (+13, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+12, -8) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+21, -0) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+3, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+4, -0) (Diff)
/source/blender/windowmanager/wm_surface.h (+3, -0) (Diff)