Blender Git Commit Log
Git Commits -> Revision 109be29
Revision 109be29 by Julian Eisel (soc-2019-openxr, temp-vr-draw-thread, vamr-openxr-module, vr_scene_inspection) June 29, 2019, 00:30 (GMT) |
Draw offscreen viewport in XR session surface callback Not visible yet, but it should draw in the offscreen. The way this is now, we don't depend on the Window->Workspace->bScreen->... chain. We simply draw an offscreen viewport in the draw callback of the XR session surface. The drawing also uses view and projection matrices from OpenXR (or calculated from OpenXR data). |
Commit Details:
Full Hash: 109be29e42bbea92fa1c993833ffd40af75ab8af
Parent Commit: 13442da
Lines Changed: +220, -3
7 Modified Paths:
/intern/ghost/GHOST_C-api.h (+11, -2) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+20, -0) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+7, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+27, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+18, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+69, -0) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+68, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+20, -0) (Diff)
/source/blender/blenlib/BLI_math_geom.h (+7, -0) (Diff)
/source/blender/blenlib/intern/math_geom.c (+27, -0) (Diff)
/source/blender/editors/include/ED_view3d.h (+18, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+69, -0) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+68, -1) (Diff)