Commit Graph

66 Commits

Author SHA1 Message Date
bjorn dfdda04fc7 Add Pico OpenXR SDK submodule; 2023-01-30 18:04:57 -08:00
bjorn 886e3bb42f Fix some windows warnings; 2022-12-19 14:01:30 -08:00
bjorn b9ef1772da LÖVR no longer depends on system-installed Vulkan;
Experimental.
2022-11-14 20:54:43 -08:00
bjorn 4316c39c5d Update Oculus OpenXR loader to v42; 2022-09-23 14:36:07 -07:00
bjorn b60a9b7b40 Update glslang; 2022-08-05 23:41:48 -07:00
bjorn 8af3fffe2f Update OpenXR to 1.0.24; 2022-08-02 23:10:41 -07:00
bjorn c1bb47d737 Merge branch 'master' into dev 2022-06-16 23:50:11 -07:00
bjorn 1cc8cf9f4a Update glslang to accept array of shader strings; 2022-06-09 17:44:46 -07:00
bjorn c3e3993a6f Upgrade to OpenXR 1.0.23; 2022-05-27 21:14:39 -07:00
bjorn 355b2bf85b Switch to glslang fork;
The reason is that the glslang C API doesn't support the extra
overloads that let you provide multiple strings or the lengths for
strings.  In our case our shader blobs are not null terminated, so
sending them to glslang would overrun the buffer.  I forked glslang
and modified the C API to support a length parameter.
2022-05-22 14:58:07 -07:00
bjorn 9ae285afa7 Add glslang; 2022-05-09 11:45:15 -07:00
bjorn 018b94a0fb Update ODE to include header changes; 2022-03-25 12:38:07 -07:00
bjorn 05c15d47ac Update ODE submodule;
Includes a fix for a crash with colliders that are out of bounds.
2022-03-25 12:28:16 -07:00
bjorn d1dc2f3199 rm pico;
Notes:

- We can actually use a single Activity.java file for oculus/pico now
- We can unconditionally compile os_android.c on Android
- No need for including extra jars in build system
- Headset rendering is guaranteed synchronous now, no need to ref L
- Add an "android flavor" build setting to differentiate between oculus
  and pico devices, since they both use OpenXR.
- Update the pico manifest to reflect their OpenXR sample
- Remove some OpenGL hacks that aren't necessary anymore
2022-03-22 16:03:21 -07:00
bjorn f1cc668298 rm vrapi; 2022-03-22 16:02:45 -07:00
bjorn 4f39f4f68f rm oculus; 2022-03-22 16:02:45 -07:00
bjorn b9889ca97a rm openvr; 2022-03-22 16:02:45 -07:00
bjorn c097a266b4 Add Oculus OpenXR loader submodule; 2022-03-21 03:10:13 -07:00
bjorn 47a4becc48 Upgrade OpenXR loader; 2022-03-15 15:20:46 -07:00
bjorn 0b51bdc5a4 bump ode; 2021-07-18 22:24:00 -07:00
bjorn 756448c795 ODE uses no-generated-headers branch; 2021-07-18 22:24:00 -07:00
Nevyn Bengtsson 055a15eeb3 Remove Git LFS from Oculus Mobile 2021-05-31 09:07:38 -06:00
Nevyn Bengtsson 91a2ba0bac bump oculus-mobile to 25.0 and rewritten history 2021-05-31 09:07:38 -06:00
Nevyn Bengtsson 1756983eb3 Embed submo's to VR SDKs 2021-05-31 09:07:38 -06:00
Josip Miskovic f6fbc2ad17 Route ODE messages into LOVR log system
ODE errors, debugs and messages are redirected into LOVR's log system
by a callback mechanism for each.

The ODE submodule is updated to revision that does not crash when error
or debug occurs.
2021-03-28 17:34:11 -06:00
bjorn 121e0fde4c Add vanilla Lua submodule;
This needs testing on other platforms.
2021-03-23 14:31:04 -06:00
bjorn 49f02c65d8 rm lua submodule; 2021-03-23 14:31:04 -06:00
bjorn 5d5c79b5b1 Upgrade OpenVR; 2021-02-19 23:44:23 -07:00
bjorn 4580107023 Update ODE with macOS fix; 2021-02-17 11:24:59 -07:00
bjorn 72284c2c5b Merge branch 'master' into dev 2021-02-12 08:16:36 -07:00
bjorn 7b136b914c Update msdfgen;
- Rasterizer (maybe temporarily) uses 32 bit float textures.
2021-02-10 04:03:43 -07:00
bjorn c738ae9993 Update CMake/deps; 2021-02-08 16:08:29 -07:00
bjorn 909c9f94e9 Update ode; 2021-02-06 19:15:22 -07:00
Nevyn Bengtsson eace936646 bump glfw for m1 fix 2021-01-19 11:29:43 +01:00
Nevyn Bengtsson 8108b6aa5a Switch luajit GC and remove image_base settings
to fix dyld shared cache errors on macOS 11
2021-01-11 15:29:05 +01:00
Bjorn 6756a94cb9
Merge pull request #353 from bjornbytes/plugins
Plugins;
2020-12-31 17:18:42 -07:00
bjorn 60c45c4c68 Bump msdfgen; 2020-12-28 15:11:49 -07:00
bjorn b356ce2546 Plugins;
- The plugins folder can contain native plugins.
- CMake will build plugins with CMakeLists in them
  - They can check the LOVR variable to see if they are being built inside LOVR.
  - They can set the LOVR_PLUGIN_TARGETS variable to a list of targets they build.
    - If blank, all non-imported targets added in the folder will be used.
  - The libraries built by their targets will be moved next to the executable or into the apk.
- The library loader now tries to load libraries next to the executable or in the APK.
  - It is "fixed function" now, this may be improved in the future.
- The lovr.filesystem C require path has been removed.
- enet and cjson have been removed.  Use plugins.
2020-12-28 12:37:35 -07:00
bjorn b139500864 Upgrade OpenVR; 2020-09-29 16:34:44 -06:00
Josip Miskovic 75591fde42 Support for trimesh shape colliders 2020-09-24 20:58:28 +02:00
bjorn 28144c8143 OpenXR Android stuff; 2020-08-29 19:45:52 -06:00
bjorn 9f769470e6 Fix OpenXR OpenGL swapchain type; 2020-08-23 16:10:57 -06:00
bjorn f160ed75e9 Update ode;
Enables libccd for better collision support.
2020-05-02 13:19:25 -06:00
Nevyn Bengtsson d987dd0dc3 Bump msdfgen + add move_dll for it
Fixes #184
2020-01-06 20:19:52 +01:00
bjorn fc8c195ab1 Update glfw to work around macos vsync problem; 2020-01-01 02:55:40 -08:00
bjorn f88268b763 rm openxr submodule;
The OpenXR headset driver is not enabled by default, and it doesn't
seem like this will change soon, so let's omit the submodule
dependency to save the bytes/time.
2019-12-29 10:31:15 -08:00
bjorn b518a4c983 rm misc physfs; 2019-12-10 12:38:06 -08:00
bjorn 7932130d9b Update glfw to 3.3; 2019-11-03 15:24:24 -08:00
bjorn 15e9fd49e7 Update LuaJIT; 2019-10-24 15:08:19 -07:00
bjorn 9fac40b073 Update LuaJIT;
Fixes potential ffi.load crashes.
2019-10-24 14:31:43 -07:00