Blender Git Loki

Blender Git "temp-vr-draw-thread" branch commits.

Page: 6 / 9

June 21, 2019, 20:31 (GMT)
Merge branch 'master' into soc-2019-openxr
June 21, 2019, 20:27 (GMT)
Cleanup: Use CamelCase for XR functions/types

Also silence warnings.
June 19, 2019, 19:11 (GMT)
Finish OpenXR GLX binding initialization

Monado now opens a window here when asking it to start a session. That
seems to be the case because it doesn't detect the HMD as direct mode
capable yet. But that shouldn't be an issue from our side.
June 19, 2019, 17:09 (GMT)
Fix invalid delete operator use

Again a thing MSVC should warn about but didn't...
June 19, 2019, 16:30 (GMT)
Use friend class to access graphics data on Windows too

Also fix memory leak.
June 19, 2019, 15:23 (GMT)
Pass graphics context data to OpenXR graphics bindings on Linux too

Refactors function into a class, and make this class a friend of
GHOST_ContextGLX. That seems like a better way to access low level
graphics data for this specific case, rather than giving anyone access
via a getter.
June 19, 2019, 10:20 (GMT)
Init OpenXR graphics bindings with valid graphics context (Win only)

Will do this for Linux in a separate commit.

Also fixes a stupid mistake from previous commit on lazy-creation of XR
context.
June 18, 2019, 23:00 (GMT)
Remove CTX_wm_xr_context

Not really useful, plus XR-Context is now GHOST data.
June 18, 2019, 22:57 (GMT)
Rename of XR types (WM -> GHOST)
June 18, 2019, 22:44 (GMT)
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!
June 18, 2019, 22:28 (GMT)
Rename wm_xr_ -> GHOST_XR
June 18, 2019, 21:50 (GMT)
Merge branch 'soc-2019-openxr' into temp-ghost_openxr
June 18, 2019, 21:49 (GMT)
Merge branch 'master' into soc-2019-openxr
June 17, 2019, 23:02 (GMT)
Use some C++ features where useful

Also correct include guards.
June 17, 2019, 21:45 (GMT)
Initially move XR files to GHOST and compile in C++
June 17, 2019, 20:24 (GMT)
Merge branch 'master' into soc-2019-openxr
June 16, 2019, 23:24 (GMT)
Fail without crashing if no runtime is found

For now simply do nothing. Plan is to work on proper error handling and
reporting later.
June 16, 2019, 21:28 (GMT)
Fix compile errors and warnings on certain configs

Addresses:
* Compile error on Linux
* Compile error with WITH_OPENXR disabled
* Unused parameter warnings
June 16, 2019, 21:12 (GMT)
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?
June 16, 2019, 20:58 (GMT)
Merge branch 'master' into soc-2019-openxr
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021