Blender Git Commit Log

Git Commits -> Revision 3b1ef22

Revision 3b1ef22 by Julian Eisel (master)
March 5, 2020, 17:29 (GMT)
Ghost: Support drawing OpenGL framebuffers into a DirectX 11 buffer

Adds a minimal DirectX 11 Ghost context, plus some shared DirectX-OpenGL
resource interface using the NV_DX_interop2 WGL extension. From what I
know, this should be available on modern GPUs. If not, it should fail
gracefully.
There should be no user visible changes at this point.

Needed for DirectX-only OpenXR platforms (e.g. Windows Mixed Reality). I
heard there are other use-cases as well though.

It's known that this currently fails on some AMD systems, but that seems
to be fixable.

Most of this comes from the 2019 GSoC project, "Core Support of Virtual
Reality Headsets through OpenXR"
(https://wiki.blender.org/wiki/User:Severin/GSoC-2019/).

Reviewed by: Jeroen Bakker, Ray Molenkam, Brecht van Lommel

Differential Revision: https://developer.blender.org/D6190

Commit Details:

Full Hash: 3b1ef223bad5ba902bbb17cdc3686bfe807a6f50
Parent Commit: 4a3377f
Lines Changed: +634, -1

2 Added Paths:

/intern/ghost/intern/GHOST_ContextD3D.cpp (+358, -0) (View)
/intern/ghost/intern/GHOST_ContextD3D.h (+133, -0) (View)

10 Modified Paths:

/intern/ghost/CMakeLists.txt (+2, -0) (Diff)
/intern/ghost/GHOST_C-api.h (+19, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+6, -0) (Diff)
/intern/ghost/GHOST_Types.h (+4, -1) (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)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+42, -0) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+14, -0) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+14, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021