Commit graph

103 commits

Author SHA1 Message Date
Ryan Pavlik a702b42439 ext/openxr: Update headers to 1.0.14 2021-02-11 09:45:01 -06:00
Ryan Pavlik 1d9ea3f195 external/flexkalman: Add some missing copyright/license headers 2021-02-11 09:43:22 -06:00
Christoph Haag 7a030e36ae build/meson: Build and run tests
closes #97
2021-01-07 22:15:08 +01:00
Christoph Haag 3e4f9d5b6f external: Update OpenXR includes to 1.0.13 2021-01-06 13:40:59 +00:00
Jakob Bornecrantz 8e5f952d55 external: Update EGL bindings and more extensions 2020-12-28 15:22:06 +00:00
Ryan Pavlik b0549b374a external: Don't export symbols from cjson 2020-11-23 14:27:21 -06:00
Christoph Haag cb62514fd0 steamvr: Implement basic SteamVR driver
v3:
  targets: Add Monado-SteamVR driver target
  st/ovrd: Add OpenVR driver header
  build: Factor out sdl hack into lib_sdl2_hack and update steamvr build
  build: Revert lib_sdl2_refactor
  steamvr: Emulate Index Controller by default
  steamvr: Use oxr_handle_destroy instead of exposing oxr_instance_destroy
  steamvr: don't use oxr internals
  steamvr: communicate 3dof tracking to steamvr
  steamvr: use util functions for device assignment and tracking origin setup
  steamvr: Install plugin to <prefix>/share/steamvr-monado
  steamvr: Use thread for updating poses every 1ms

Makes a big difference for the Index @144Hz on the vive driver.
Still somewhat choppy on survive driver - prediction should solve it.

Main-author: Christoph Haag <christoph.haag@collabora.com>
Co-author: Jakob Bornecrantz <jakob@collabora.com>
2020-11-09 19:21:27 +00:00
Jakob Bornecrantz b6c3475352 external: Add OpenVR driver header 2020-11-09 00:32:33 +01:00
Ryan Pavlik 14fcd6be6a external: SPDX/REUSE compliance 2020-11-02 17:04:51 +00:00
Ryan Pavlik ae62cfbaf6 doc: Add spdx tags. 2020-11-02 17:04:51 +00:00
Ryan Pavlik 0325409210 external/android-jni-wrap: Upgrade base header for new features 2020-10-30 18:20:34 -05:00
Ryan Pavlik 82037070a9 external: Add android-jni-wrap. 2020-10-28 09:32:49 -05:00
Ryan Pavlik bf36c5c522 external: Import jnipp 2020-10-28 09:32:49 -05:00
Jakob Bornecrantz 708dc80bbc external: Update OpenXR headers to 1.0.12 2020-10-05 16:34:12 +01:00
Jakob Bornecrantz 82ea385c6d imgui: Add igToggleButton function 2020-09-15 16:41:07 +00:00
Jakob Bornecrantz f843c59c37 imgui: Add ImPlot 2020-09-15 16:41:07 +00:00
Jakob Bornecrantz 36ea1825bf imgui: Update to 1.78 2020-09-15 16:41:07 +00:00
Pete Black 0d07c2c343 external: Add Hungarian graph algorithm 2020-08-28 11:38:03 +00:00
Jakob Bornecrantz af540f5ed3 external: Sort libraries in CMakeLists.txt and meson.build 2020-08-28 11:38:03 +00:00
Ryan Pavlik 99fb9fff0d external: Update GLAD again for more extensions 2020-08-26 16:31:56 +01:00
Ryan Pavlik 355ea625dd external/glad: Update to add more extensions 2020-08-19 11:01:12 -05:00
Ryan Pavlik fb48a22cec external: Update OpenXR headers to 1.0.11 2020-08-14 17:37:47 -05:00
Jakob Bornecrantz 40db8d3b55 st/oxr: Add new XR_MND_swapchain_usage_input_attachment_bit extension to headers 2020-08-06 14:28:23 +00:00
Ryan Pavlik d8ad620bd2 xrt: Update GLAD again, to a "merged" distribution.
This merges the OpenGL and OpenGL-ES code.
2020-08-05 20:50:00 +00:00
Ryan Pavlik f8e9f28682 external: Update GLAD with more code 2020-07-17 13:53:39 -05:00
Ryan Pavlik 910a3aae75 external: Update GLAD and add missing header 2020-07-17 13:53:39 -05:00
Ryan Pavlik e011e86fb9 external: Add Catch2 header. 2020-06-17 10:03:32 +00:00
Jakob Bornecrantz b572577014 st/oxr: Update OpenXR headers to 1.0.9 2020-05-29 23:36:23 +01:00
Jakob Bornecrantz d37f446def st/oxr: Update openxr header and switch to XR_MNDX_egl_enable 2020-05-20 18:08:56 +00:00
Ryan Pavlik 4638b0af7b build: Switch all CMake options to XRT_... to match what's used in source.
Also revise other small related parts of the build to make them more clear and consistent.
2020-05-12 11:52:51 -05:00
Ryan Pavlik 7df96234a2 build: Fix build with system cJSON.
Identified when building on Debian Salsa.
2020-05-04 21:44:40 +00:00
Jakob Bornecrantz 8328577b88 cmake: Tidy whitespace (NFC) 2020-04-29 09:12:19 +01:00
Ryan Pavlik 974c68dead xrt: Re-arrange build to avoid unnecessary includes.
Avoid unintentionally including cJSON from the source tree when using system,
etc. This adds granularity to the usage of "external" sources.
2020-04-28 21:36:46 +00:00
Ryan Pavlik 69b8e8455c external: Fix spelling error in imgui demo. 2020-04-24 20:34:53 +00:00
Ryan Pavlik d198e93fcb external: Update flexkalman 2020-03-26 12:00:26 +00:00
Ryan Pavlik 33236fb20a imgui: Add license texts 2020-03-23 17:29:43 -05:00
Jakob Bornecrantz 622320904a xrt: Misc tidy of u_var_timing 2020-03-09 20:01:38 +00:00
Christoph Haag a3118f5ef2 st/gui: Add custom imgui element for timing graph
Features:
* draws 6 level lines with labels
* draws a line for a reference timing
* reference timing can be bottom of the graph, or center
* range around (up from) the reference timing can be specified
* optional automatic rescaling of the graph
2020-03-06 01:56:29 +01:00
Ryan Pavlik 066f57d7d8 external: Update flexkalman 2020-01-14 11:51:12 -06:00
Ryan Pavlik 2ad93677e8 src/external: Remove nxjson 2020-01-09 15:21:04 +00:00
Ryan Pavlik b564499abf src/external: Add cJSON.
MIT licensed, single-source-file, API quite similar to nxjson,
seemingly somewhat well tested and active.
2020-01-09 15:21:04 +00:00
Ryan Pavlik 8ce507391a external: Update flexkalman 2019-11-11 17:57:34 -06:00
Drew DeVault e5a9cbb2f9
Implement XR_MND_egl_enable
This extension introduces a more robust way of creating an XrSession for
OpenGL. It also lays the groundwork for future OpenGL ES support.

https://github.com/KhronosGroup/OpenXR-Docs/pull/40

Signed-off-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2019-11-06 10:07:21 +01:00
Jakob Bornecrantz 8301bd8d4c external: Refactor out sdl functions from main cimguo.cpp 2019-10-22 21:37:03 +01:00
Jakob Bornecrantz 60be24e119 external: If out non-implemented imgui init functions 2019-10-22 21:24:58 +01:00
Lubosz Sarnecki 8e6cc11d69 external: Add nxjson. 2019-10-22 19:18:47 +02:00
Ryan Pavlik c660183848 external: Add multi-header version of FlexKalman.
Takes off a little build time compared to single-header version.
2019-10-10 21:48:09 +00:00
Drew DeVault 064aef3526 build: port to meson 2019-09-26 15:05:22 +00:00
Jakob Bornecrantz d48b3385f8 ext/imgui: Add Dear ImGui 2019-09-15 18:52:17 +00:00
Ryan Pavlik 761c4d7ca8 Fix build. 2019-08-14 17:14:46 -05:00
Ryan Pavlik 749e6bbdc5 Bump OpenXR includes to 1.0.1 2019-08-14 12:33:34 -05:00
Jakob Bornecrantz 3a89e2f0d4 ext/oxr: Update OpenXR headers to 1.0 2019-07-29 16:34:48 +01:00
Jakob Bornecrantz 15a97422ba xrt: Add all of Monado 2019-03-18 05:52:32 +00:00