http://www.miikahweb.com/feed.php MiikaHweb - Blender Temp-ghost_openxr Branch http://www.miikahweb.com/ MiikaHweb - Blender Temp-ghost_openxr Branch fi Tue, 19 Nov 19 12:41:52 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[0da0f29]: Rename of XR types (WM -> GHOST)]]> http://www.miikahweb.com/en/blender/git-logs/commit/0da0f29adec14173ca32464f5d2aaf607f059496 0da0f29
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Rename of XR types (WM -> GHOST)

----------------------------------------
9 Paths Changed]]>
Tue, 18 Jun 2019 22:57:50 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0da0f29adec14173ca32464f5d2aaf607f059496Julian Eisel
<![CDATA[[a8519db]: Lazy-create XR-context]]> http://www.miikahweb.com/en/blender/git-logs/commit/a8519dbac2b61d7fa240684f3129e1b458d23901 a8519db
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Lazy-create XR-context

Creating the context causes the OpenXR loader to try connect to a
runtime. That would involve reading the OS'es active_runtime.json and
dynamic linking based on that. So better avoid doing this on startup.
Also: don't pay for what you don't use!

----------------------------------------
3 Paths Changed]]>
Tue, 18 Jun 2019 22:44:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a8519dbac2b61d7fa240684f3129e1b458d23901Julian Eisel
<![CDATA[[f2f1e4d]: Remove CTX_wm_xr_context]]> http://www.miikahweb.com/en/blender/git-logs/commit/f2f1e4dfedaeb8393257380b95a58800dfbb928e f2f1e4d
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Remove CTX_wm_xr_context

Not really useful, plus XR-Context is now GHOST data.

----------------------------------------
3 Paths Changed]]>
Tue, 18 Jun 2019 23:00:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f2f1e4dfedaeb8393257380b95a58800dfbb928eJulian Eisel
<![CDATA[[d15d07c]: Rename wm_xr_ -> GHOST_XR]]> http://www.miikahweb.com/en/blender/git-logs/commit/d15d07c4f6f6cffc4e85056c4ffc04e753ba0f9c d15d07c
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Rename wm_xr_ -> GHOST_XR

----------------------------------------
8 Paths Changed]]>
Tue, 18 Jun 2019 22:28:37 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d15d07c4f6f6cffc4e85056c4ffc04e753ba0f9cJulian Eisel
<![CDATA[[d356787]: Merge branch 'soc-2019-openxr' into temp-ghost_openxr]]> http://www.miikahweb.com/en/blender/git-logs/commit/d356787a655ac7414efeec86955071a6374adda6 d356787
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Merge branch 'soc-2019-openxr' into temp-ghost_openxr

----------------------------------------
0 Paths Changed]]>
Tue, 18 Jun 2019 21:50:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d356787a655ac7414efeec86955071a6374adda6Julian Eisel
<![CDATA[[a284fa3]: Merge branch 'master' into soc-2019-openxr]]> http://www.miikahweb.com/en/blender/git-logs/commit/a284fa3abb0bc68a3faf2c19a7d5141fa16d5958 a284fa3
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Merge branch 'master' into soc-2019-openxr

----------------------------------------
0 Paths Changed]]>
Tue, 18 Jun 2019 21:49:54 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a284fa3abb0bc68a3faf2c19a7d5141fa16d5958Julian Eisel
<![CDATA[[4eeb752]: Use some C++ features where useful]]> http://www.miikahweb.com/en/blender/git-logs/commit/4eeb7523e9c1ef8b28596d0d830d847bace10bd9 4eeb752
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Use some C++ features where useful

Also correct include guards.

----------------------------------------
5 Paths Changed]]>
Mon, 17 Jun 2019 23:02:33 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/4eeb7523e9c1ef8b28596d0d830d847bace10bd9Julian Eisel
<![CDATA[[f30fcd6]: Initially move XR files to GHOST and compile in C++]]> http://www.miikahweb.com/en/blender/git-logs/commit/f30fcd6c85d60d9ed3513033f39ae674bc742d1f f30fcd6
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Initially move XR files to GHOST and compile in C++

----------------------------------------
17 Paths Changed]]>
Mon, 17 Jun 2019 21:45:28 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f30fcd6c85d60d9ed3513033f39ae674bc742d1fJulian Eisel
<![CDATA[[47e8133]: Merge branch 'master' into soc-2019-openxr]]> http://www.miikahweb.com/en/blender/git-logs/commit/47e813352009c0ba918be7e00acc7dce502eb1d6 47e8133
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Merge branch 'master' into soc-2019-openxr

----------------------------------------
0 Paths Changed]]>
Mon, 17 Jun 2019 20:24:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/47e813352009c0ba918be7e00acc7dce502eb1d6Julian Eisel
<![CDATA[[3fa7d59]: Fail without crashing if no runtime is found]]> http://www.miikahweb.com/en/blender/git-logs/commit/3fa7d59a04ffe3178e536ebb05ee5bde91a88b2b 3fa7d59
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fail without crashing if no runtime is found

For now simply do nothing. Plan is to work on proper error handling and
reporting later.

----------------------------------------
3 Paths Changed]]>
Sun, 16 Jun 2019 23:24:07 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3fa7d59a04ffe3178e536ebb05ee5bde91a88b2bJulian Eisel
<![CDATA[[df8dc43]: Fix compile errors and warnings on certain configs]]> http://www.miikahweb.com/en/blender/git-logs/commit/df8dc43946115d3da8dc27ae24aa54a9f4def1e1 df8dc43
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix compile errors and warnings on certain configs

Addresses:
* Compile error on Linux
* Compile error with WITH_OPENXR disabled
* Unused parameter warnings

----------------------------------------
2 Paths Changed]]>
Sun, 16 Jun 2019 21:28:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/df8dc43946115d3da8dc27ae24aa54a9f4def1e1Julian Eisel
<![CDATA[[3b0a2fe]: Fix missing return value... how did this work even?]]> http://www.miikahweb.com/en/blender/git-logs/commit/3b0a2fecfc7c88fac6077b54d514326e87819d61 3b0a2fe
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix missing return value... how did this work even?

Looking at the code this should've failed miserably. No idea how this
could still work fine... Maybe return vars used same stack location?

----------------------------------------
1 Path Changed]]>
Sun, 16 Jun 2019 21:12:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3b0a2fecfc7c88fac6077b54d514326e87819d61Julian Eisel
<![CDATA[[80af6d5]: Merge branch 'master' into soc-2019-openxr]]> http://www.miikahweb.com/en/blender/git-logs/commit/80af6d534d2fa39cf202fddf0c2ac2f475d0407a 80af6d5
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Merge branch 'master' into soc-2019-openxr

----------------------------------------
0 Paths Changed]]>
Sun, 16 Jun 2019 20:58:56 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/80af6d534d2fa39cf202fddf0c2ac2f475d0407aJulian Eisel
<![CDATA[[637b803]: Support drawing the VR view into a DirectX window!]]> http://www.miikahweb.com/en/blender/git-logs/commit/637b803b975547ccec4b598975bc27d27b8e4ec6 637b803
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Support drawing the VR view into a DirectX window!

Phew! That a fight. But this is also a pretty important feature as it
allows interfacing with Windows Mixed Reality OpenXR runtime and the
HMDs supported by it.

Important remaining issue: The rendered viewport is upside down :) That
is of course because DirectX has the opposite vertical direction than
OpenGL.

When creating a DirectX window, we also create an OpenGL offscreen
context to use for all drawing. Just before swapping framebuffers, the
DirectX window blits the framebuffer of the offscreen context into its
swapchain. This requires the WGL_NV_DX_interop and WGL_NV_DX_interop2
extensions.

For testing/dev purposes, also adds:
* Version of the offscreen to onscreen blitting that's OpenGL only. So
it blits the default framebuffer of the offscreen context into the one
of the onscreen context.
This is disabled by a #define.
* Code to draw a colored triangle using DirectX, also for testing.
Requires the D3DCompiler.lib to be available at compile time. This is
also disabled using a #define.

----------------------------------------
18 Paths Changed]]>
Sun, 16 Jun 2019 19:05:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/637b803b975547ccec4b598975bc27d27b8e4ec6Julian Eisel
<![CDATA[[71c7d61]: Draw OpenGL framebuffer upside down in DirectX windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/71c7d61808957eb301cdd313feae134b13936942 71c7d61
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Draw OpenGL framebuffer upside down in DirectX windows

DirectX is Y coordinates top to bottom, while OpenGL is the opposite.
For the final window manager on-screen drawing, draw to a texture first
and draw that upside down if needed.

----------------------------------------
8 Paths Changed]]>
Sun, 16 Jun 2019 19:46:57 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/71c7d61808957eb301cdd313feae134b13936942Julian Eisel
<![CDATA[[314eef0]: Merge branch 'master' into soc-2019-openxr]]> http://www.miikahweb.com/en/blender/git-logs/commit/314eef0df8a46590e921e463576f851c6bc903bd 314eef0
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Merge branch 'master' into soc-2019-openxr

----------------------------------------
0 Paths Changed]]>
Fri, 14 Jun 2019 18:41:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/314eef0df8a46590e921e463576f851c6bc903bdJulian Eisel
<![CDATA[[34fa0f8]: Set up DirectX window to support drawing]]> http://www.miikahweb.com/en/blender/git-logs/commit/34fa0f8ac69afb1770a0561092fc3ae9f6cec793 34fa0f8
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Set up DirectX window to support drawing

With this the VR window should open fine and get cleared in a red-ish
orange using Direct3D 11 calls (well, on Windows that is).

The window still draws a 3D view to an offscreen buffer. Where we
usually just swap the buffers, we now allow calling a GHOST function to
blit the offscreen OpenGL buffer to whatever type of graphics buffer the
window uses (DirectX here).
The nice thing about this approach is that all DirectX code stays in
GHOST_ContextD3D.cpp. And the entire compatibiliy code can go into a
single function higher level modules don't need to care about.

This also fixes a number of issues introduced in earlier commits.

----------------------------------------
14 Paths Changed]]>
Fri, 14 Jun 2019 17:07:10 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/34fa0f8ac69afb1770a0561092fc3ae9f6cec793Julian Eisel
<![CDATA[[1636672]: Draw into OpenGL offscreen context in the DirectX window.]]> http://www.miikahweb.com/en/blender/git-logs/commit/16366724bd7f7c7e6904ba96ec27d86054c4cb65 1636672
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Draw into OpenGL offscreen context in the DirectX window.

The window doesn't show anything of course. However we draw (at least I
assume it does) as regular, just into a window offscreen context.

A valid 3D view is created in the window. It's not visible but you see
cursor changes as you move over the window. So handling works.

----------------------------------------
7 Paths Changed]]>
Fri, 14 Jun 2019 00:41:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/16366724bd7f7c7e6904ba96ec27d86054c4cb65Julian Eisel
<![CDATA[[fc8127d]: (Disabled) code to open a DirectX window with the VR session]]> http://www.miikahweb.com/en/blender/git-logs/commit/fc8127d0702ad7eb80bfce9c461e12a20724a9ba fc8127d
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
(Disabled) code to open a DirectX window with the VR session

The window immediately crashes, hence keeping it disabled for now.

Not sure how much of this I'll leave in, for now this is mainly for
testing DirectX compatibility.

----------------------------------------
8 Paths Changed]]>
Thu, 13 Jun 2019 21:24:30 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/fc8127d0702ad7eb80bfce9c461e12a20724a9baJulian Eisel
<![CDATA[[3ac37fb]: Fix compile errors with older MSVC/Win-SDK versions]]> http://www.miikahweb.com/en/blender/git-logs/commit/3ac37fb552a511060a05df3c6d34da406d82ae60 3ac37fb
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix compile errors with older MSVC/Win-SDK versions

Reported by @LazyDodo, thanks!

----------------------------------------
2 Paths Changed]]>
Thu, 13 Jun 2019 16:22:26 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3ac37fb552a511060a05df3c6d34da406d82ae60Julian Eisel
<![CDATA[[8e51a75]: Fix mistake causing compiler error on Windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/8e51a7577253b64520857cf913299c8747839d3d 8e51a75
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix mistake causing compiler error on Windows

Stupid one...

----------------------------------------
1 Path Changed]]>
Wed, 12 Jun 2019 21:45:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8e51a7577253b64520857cf913299c8747839d3dJulian Eisel
<![CDATA[[ba2dab4]: Merge branch 'master' into soc-2019-openxr]]> http://www.miikahweb.com/en/blender/git-logs/commit/ba2dab402de838cfccea7dc2fad7267dc6be9e05 ba2dab4
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Merge branch 'master' into soc-2019-openxr

----------------------------------------
0 Paths Changed]]>
Wed, 12 Jun 2019 19:28:40 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ba2dab402de838cfccea7dc2fad7267dc6be9e05Julian Eisel
<![CDATA[[66e90e9]: Fix compile error and warning on GCC]]> http://www.miikahweb.com/en/blender/git-logs/commit/66e90e917973c8b3fa4bb7d69db8d5c7a65335de 66e90e9
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix compile error and warning on GCC

----------------------------------------
2 Paths Changed]]>
Wed, 12 Jun 2019 17:28:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/66e90e917973c8b3fa4bb7d69db8d5c7a65335deJulian Eisel
<![CDATA[[796994d]: Refactor graphics context binding to avoid memory leaks]]> http://www.miikahweb.com/en/blender/git-logs/commit/796994d222123f83fc3d0f6fc47f5ae12cdbdab6 796994d
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Refactor graphics context binding to avoid memory leaks

* Retrieve graphics context to bind through callbacks so the XR code can
manage their lifetime.
* Use static union to store system & chosen graphics lib specific
graphics binding data.

Makes some things a bit cleaner, too.

----------------------------------------
6 Paths Changed]]>
Wed, 12 Jun 2019 19:27:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/796994d222123f83fc3d0f6fc47f5ae12cdbdab6Julian Eisel
<![CDATA[[1404edb]: Support DirectX Ghost context creation]]> http://www.miikahweb.com/en/blender/git-logs/commit/1404edbe3a15d2ca41615cfcd735cfa662708421 1404edb
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Support DirectX Ghost context creation

Adds support for creating a DirectX 11 Ghost context. It's not used yet
and more stuff besides creation is needed. Also, other versions than 11
should probably be supported.
We need a DirectX context to support the Windows Mixed Reality OpenXR
Runtime, a rather important one to support. Idea is to use an extension
for OpenGL-DirectX interoperability for drawing the OpenGL offscreen
viewport render using DirectX.

----------------------------------------
9 Paths Changed]]>
Wed, 12 Jun 2019 09:34:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1404edbe3a15d2ca41615cfcd735cfa662708421Julian Eisel
<![CDATA[[2f68a76]: Split wm_xr.c into multiple files]]> http://www.miikahweb.com/en/blender/git-logs/commit/2f68a76409eaed743790727ee3a8296f070ee40d 2f68a76
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Split wm_xr.c into multiple files

Similar to gizmo/ and message_bus/, there's now a xr/ directory
containing header files and a intern/ directory for source and internal
header files.

Guess this is reasonable to do. And better to do early on to avoid
loosing much git history.

----------------------------------------
12 Paths Changed]]>
Tue, 11 Jun 2019 15:52:04 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/2f68a76409eaed743790727ee3a8296f070ee40dJulian Eisel
<![CDATA[[304d9a2]: Fix compile errors and crashes on Windows]]> http://www.miikahweb.com/en/blender/git-logs/commit/304d9a20fcbc5eec4b2062aedc6e8de3db2d88b1 304d9a2
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix compile errors and crashes on Windows

* Include needed Windows/DirectX headers
* Disable zero sized arraz (GCC extension)
* Add missing break causing failling assert
* Add missing semicolon in Win only code :)

----------------------------------------
1 Path Changed]]>
Tue, 11 Jun 2019 14:35:31 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/304d9a20fcbc5eec4b2062aedc6e8de3db2d88b1Julian Eisel
<![CDATA[[b169e32]: Fix compile error with system OpenXR SDK]]> http://www.miikahweb.com/en/blender/git-logs/commit/b169e327bf59a8260e56d017315e49070c9c15ca b169e32
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix compile error with system OpenXR SDK

Graphics binding types were disabled by a compiler flag then.

----------------------------------------
1 Path Changed]]>
Tue, 11 Jun 2019 12:18:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b169e327bf59a8260e56d017315e49070c9c15caJulian Eisel
<![CDATA[[7238bbe]: Cleanup: Rename graphics-lib to graphics-binding]]> http://www.miikahweb.com/en/blender/git-logs/commit/7238bbecc4040dcbc49a6c01acd1ef21abeb9a23 7238bbe
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Cleanup: Rename graphics-lib to graphics-binding

----------------------------------------
3 Paths Changed]]>
Mon, 10 Jun 2019 20:16:09 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7238bbecc4040dcbc49a6c01acd1ef21abeb9a23Julian Eisel
<![CDATA[[a49b4ca]: Merge branch 'master' into soc-2019-openxr]]> http://www.miikahweb.com/en/blender/git-logs/commit/a49b4ca4029d5aa0d9ae3de3bceff1cda1a1cf1e a49b4ca
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Merge branch 'master' into soc-2019-openxr

----------------------------------------
0 Paths Changed]]>
Mon, 10 Jun 2019 20:06:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a49b4ca4029d5aa0d9ae3de3bceff1cda1a1cf1eJulian Eisel
<![CDATA[[eb0424c]: Proper management of OpenXR graphics bindings for session setup...]]> http://www.miikahweb.com/en/blender/git-logs/commit/eb0424c946f4121bfd6f51a4fbbed4c4af0289a1 eb0424c
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Proper management of OpenXR graphics bindings for session setup

OpenXR needs to interface with some graphics library (OpenGL, Vulkan,
DirectX, etc.). This is done through graphics binding extensions. The
OpenXR specification requires these to be properly set up before a
session is created.

Adds the following:
* Support priority list of multiple graphics binding extensions (e.g.
check OpenGL extension availability first, DirectX on Windows second,
etc.)
* Barebones for passing graphics library data to OpenXR session
creation. This is highly system dependent, e.g. it requires GLX data
for OpenGL on X11 systems (XrGraphicsBindingOpenGLXlibKHR). More work,
including additions to GHOST, will be needed once I get to the more
graphics related stuff.
* Create an own graphics context for the VR session. It's not doing
anything useful yet. This is just to fool the Monado OpenXR runtime
so that it actually attempts to create the OpenXR session.
* Had to add two CMake modules for platform dependent #define's required
by the OpenXR specification.

----------------------------------------
8 Paths Changed]]>
Mon, 10 Jun 2019 19:59:26 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/eb0424c946f4121bfd6f51a4fbbed4c4af0289a1Julian Eisel
<![CDATA[[5d6da57]: Cleanup: Move OpenXRData struct out of wmXRContext]]> http://www.miikahweb.com/en/blender/git-logs/commit/5d6da57aa3a86686e0e548165f2ce7bb9d5b93ef 5d6da57
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Cleanup: Move OpenXRData struct out of wmXRContext

Just to make access a bit more convenient.

----------------------------------------
1 Path Changed]]>
Thu, 06 Jun 2019 16:38:06 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5d6da57aa3a86686e0e548165f2ce7bb9d5b93efJulian Eisel
<![CDATA[[e968bbc]: Fix wrong enum-type used for switch]]> http://www.miikahweb.com/en/blender/git-logs/commit/e968bbc5d890f8cc0b200af7ed3f32399564a6a5 e968bbc
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix wrong enum-type used for switch

Why doesn't MSVC warn about this, grr...

----------------------------------------
1 Path Changed]]>
Thu, 06 Jun 2019 15:37:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e968bbc5d890f8cc0b200af7ed3f32399564a6a5Julian Eisel
<![CDATA[[b1b0e05]: Fix CMake errors after merge (?)]]> http://www.miikahweb.com/en/blender/git-logs/commit/b1b0e05c540b54b1e2d935de8e21680680647190 b1b0e05
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix CMake errors after merge (?)

Not sure if this is caused by changes just merged in, or by a system
upgrade I just did. Either way, fixed it now.

----------------------------------------
2 Paths Changed]]>
Thu, 06 Jun 2019 09:25:53 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b1b0e05c540b54b1e2d935de8e21680680647190Julian Eisel
<![CDATA[[e547026]: Merge branch 'master' into soc-2019-openxr]]> http://www.miikahweb.com/en/blender/git-logs/commit/e547026dfe36aee5243e83741c58d5262bf2aae5 e547026
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Merge branch 'master' into soc-2019-openxr

----------------------------------------
0 Paths Changed]]>
Thu, 06 Jun 2019 08:56:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e547026dfe36aee5243e83741c58d5262bf2aae5Julian Eisel
<![CDATA[[f816380]: Silence warning, fix mem-leak, don't destroy NULL session]]> http://www.miikahweb.com/en/blender/git-logs/commit/f816380af5410a04c4cb2df8d9037d522a155208 f816380
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Silence warning, fix mem-leak, don't destroy NULL session

----------------------------------------
1 Path Changed]]>
Wed, 05 Jun 2019 16:03:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f816380af5410a04c4cb2df8d9037d522a155208Julian Eisel
<![CDATA[[5e642bf]: Initial session state handling]]> http://www.miikahweb.com/en/blender/git-logs/commit/5e642bfea1722a78aa61854516428d42985cc45a 5e642bf
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Initial session state handling

To correctly start a session, a graphics extension specific object needs
to be passed to the OpenXR runtime. E.g. for the Windows Mixed Reality
runtime, XrGraphicsBindingD3D11KHR needs to be passed with a valid
DirectX device. Since we don't have any DirectX compatibility working,
I can't test this on Windows yet.
So to test this I finally need to get Monado to work on Linux and
correctly setup the OpenGL extension there.

----------------------------------------
1 Path Changed]]>
Wed, 05 Jun 2019 14:55:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5e642bfea1722a78aa61854516428d42985cc45aJulian Eisel
<![CDATA[[0d1a22f]: Barebones for managing session changes]]> http://www.miikahweb.com/en/blender/git-logs/commit/0d1a22f74fc076a6a21cb006b075c87d48c58898 0d1a22f
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Barebones for managing session changes

Adds initial OpenXR event querying so that session state change events
can be handled. Doesn't do any handling yet.

----------------------------------------
3 Paths Changed]]>
Wed, 05 Jun 2019 08:20:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0d1a22f74fc076a6a21cb006b075c87d48c58898Julian Eisel
<![CDATA[[20a1af9]: Enable graphics extensions if available]]> http://www.miikahweb.com/en/blender/git-logs/commit/20a1af936da01ec0ceffc14bd5cb83b52998017e 20a1af9
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Enable graphics extensions if available

Check if available extensions includes the GL one, or the DirectX one on
Windows. Enable them if available.

----------------------------------------
1 Path Changed]]>
Tue, 04 Jun 2019 23:00:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/20a1af936da01ec0ceffc14bd5cb83b52998017eJulian Eisel
<![CDATA[[4192281]: Fix layer and extension count not stored as intended]]> http://www.miikahweb.com/en/blender/git-logs/commit/4192281e148a459aaf8355960930782928be7240 4192281
Branches : soc-2019-openxr, temp-ghost_openxr, temp-vr-draw-thread, vamr-openxr-module
Author : Julian Eisel (Severin)
----------------------------------------
Fix layer and extension count not stored as intended

----------------------------------------
1 Path Changed]]>
Tue, 04 Jun 2019 16:27:44 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/4192281e148a459aaf8355960930782928be7240Julian Eisel