Blender Git Loki
Git Commits -> Revision 34465a7
Revision 34465a7 by Julian Eisel (master) April 2, 2020, 15:43 (GMT) |
VR: Refactor DirectX context management All DirectX management happens on Ghost level now, higher level code can just assume everything is OpenGL (except of the upside-down drawing that still needs to be done for DirectX). This is similar to how the metal-layer is hidden outside of Ghost. The Ghost-XR graphics binding for DirectX is responsible for managing the DirectX compatibility now. |
Commit Details:
Full Hash: 34465a7fb091664b07611353d99dcaa0862d4a4c
Parent Commit: 868d452
Lines Changed: +123, -196
20 Modified Paths:
/intern/ghost/GHOST_C-api.h (+7, -19) (Diff)
/intern/ghost/GHOST_IContext.h (+0, -5) (Diff)
/intern/ghost/GHOST_ISystem.h (+0, -6) (Diff)
/intern/ghost/GHOST_IXrContext.h (+2, -0) (Diff)
/intern/ghost/GHOST_Types.h (+2, -3) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+8, -26) (Diff)
/intern/ghost/intern/GHOST_Context.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_IXRGraphicsBinding.h (+2, -1) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+0, -10) (Diff)
/intern/ghost/intern/GHOST_System.h (+0, -6) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+6, -11) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+16, -12) (Diff)
/intern/ghost/intern/GHOST_XrContext.cpp (+7, -0) (Diff)
/intern/ghost/intern/GHOST_XrContext.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_XRGraphicsBinding.cpp (+45, -22) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+9, -5) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+0, -21) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+15, -43) (Diff)
/source/blender/windowmanager/WM_api.h (+0, -4) (Diff)
/intern/ghost/GHOST_IContext.h (+0, -5) (Diff)
/intern/ghost/GHOST_ISystem.h (+0, -6) (Diff)
/intern/ghost/GHOST_IXrContext.h (+2, -0) (Diff)
/intern/ghost/GHOST_Types.h (+2, -3) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+8, -26) (Diff)
/intern/ghost/intern/GHOST_Context.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_IXRGraphicsBinding.h (+2, -1) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+0, -10) (Diff)
/intern/ghost/intern/GHOST_System.h (+0, -6) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+6, -11) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+16, -12) (Diff)
/intern/ghost/intern/GHOST_XrContext.cpp (+7, -0) (Diff)
/intern/ghost/intern/GHOST_XrContext.h (+1, -0) (Diff)
/intern/ghost/intern/GHOST_XRGraphicsBinding.cpp (+45, -22) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+9, -5) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+0, -21) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+15, -43) (Diff)
/source/blender/windowmanager/WM_api.h (+0, -4) (Diff)