bjorn
36c7b93fed
Details;
2022-03-17 19:30:53 -07:00
bjorn
99e2809db5
OpenXR: formatting; Use infinite swapchain wait timeout;
2022-03-17 19:30:21 -07:00
bjorn
ad4ce298f1
s/os_get_context/os_get_win32_context;
2022-03-17 19:14:34 -07:00
bjorn
c35c2bb7eb
OpenXR doesn't crash if lovr.draw errors;
...
renderTo is idempotent in openxr driver now.
2022-03-17 19:11:07 -07:00
bjorn
99a42c5c71
OpenXR: Support /point devices;
2022-03-17 17:58:30 -07:00
bjorn
4417481a92
OpenXR: Support ABXY buttons;
2022-03-17 16:33:37 -07:00
bjorn
450ee72c89
OpenXR: Windows graphics plugin properly uses HDC instead of HWND;
...
The HWND was getting passed in directly instead of first converting
it to an HDC. This was causing SteamVR to fail to create its OpenGL
context.
2022-03-15 15:21:31 -07:00
bjorn
17c05b1760
Merge branch 'master' into dev
2022-03-14 14:10:25 -07:00
bjorn
a11121d739
OpenXR: fix thumbrest action;
2022-03-14 14:10:12 -07:00
bjorn
fdfcb5539f
Merge branch 'master' into dev
2022-03-14 13:19:59 -07:00
bjorn
54154a643a
Thumbrest support;
2022-03-06 17:43:04 -08:00
bjorn
3ff64fa3ef
OpenXR: Fix instance extension enumeration;
2022-01-29 15:31:44 -08:00
bjorn
8d3d233e91
Include unknwn.h to fix OpenXR on some windows systems;
2021-12-27 15:16:50 +02:00
bjorn
20e4567bd6
Merge branch 'master' into dev
2021-12-20 17:12:39 +02:00
bjorn
e1527a949a
openxr: fix xrLocateViews call;
...
- The input parameter is a count, not a size
- The view structs must be initialized with a type
2021-10-24 13:03:05 -07:00
bjorn
0582746137
Fix OpenXR compilation;
2021-06-12 14:42:30 -06:00
bjorn
92400df89d
lovr.headset.init -> lovr.headset.start;
...
- We need some headset initialization to happen upfront
- But we still want some delayed initialization for when graphics is ready
- Go back to headset initialization happening when module is required
- Add lovr.headset.start that can be used for post-graphics init
2021-06-10 17:26:15 -06:00
Jakob Bornecrantz
28a0356a9a
Add overlay support for OpenXR
2021-04-16 14:20:05 -06:00
Jakob Bornecrantz
70ef04e595
Add overlay parameter to headset init
2021-04-16 14:20:05 -06:00
Jakob Bornecrantz
909b43f34a
Order OpenXR extension adding
2021-04-16 14:20:05 -06:00
bjorn
4f5adbc64c
lovr.system;
2021-02-25 09:00:12 -07:00
bjorn
72284c2c5b
Merge branch 'master' into dev
2021-02-12 08:16:36 -07:00
bjorn
bc4cde1653
Adjust lovrRelease signature;
2021-02-08 17:52:26 -07:00
bjorn
3ded60948f
rm core/ref; rm lovrAlloc; util does refcounting;
2021-02-08 17:26:44 -07:00
bjorn
1dd692a009
lovrPlatformGetWindow -> lovrPlatformGetWin32Window;
2021-02-07 16:57:08 -07:00
bjorn
323436898a
Add WIN32_LEAN_AND_MEAN;
2021-02-07 16:49:34 -07:00
Christoph Haag
394759c1ab
initialize XrSystemProperties type
2021-01-22 15:43:01 +01:00
Jakob Bornecrantz
cf22c11dd5
Do not try to create hand tracking devices if handTracking is not supported
2020-11-18 21:31:09 +00:00
Jakob Bornecrantz
ca04882093
OpenXR: Add support for X11 and EGL on Linux
2020-11-16 17:02:51 -07:00
bjorn
c6b4981389
Fix OpenXR view matrix;
2020-11-16 17:02:51 -07:00
Bjorn
8a3d365268
Merge pull request #299 from Wallbraker/linux-openxr
...
Linux OpenXR support
2020-11-16 13:51:41 -07:00
Jakob Bornecrantz
1400cd201a
OpenXR: Add support for X11 and EGL on Linux
2020-11-15 22:51:20 +00:00
bjorn
a139ed33e5
Fix OpenXR view matrix;
2020-11-15 22:49:00 +00:00
bjorn
e533adf649
openxr indentation;
2020-11-12 18:08:05 -07:00
bjorn
362e5525e7
Fix OpenXR view matrix;
2020-11-12 18:08:04 -07:00
Jakob Bornecrantz
22a14e1013
OpenXR: Make sure to set types for XrActionState[Boolean|Float] structs
2020-10-25 01:20:44 +01:00
Jakob Bornecrantz
e7d0a73353
OpenXR: Fix right actions not being marked as active in xrSyncActions call
2020-10-25 00:14:17 +01:00
Jakob Bornecrantz
b8e3c187ed
OpenXR: Fixes for implementations that are more strict with validation
2020-10-24 18:13:41 +01:00
bjorn
8db2f67b45
headset_openxr fix;
2020-09-29 02:49:17 -06:00
bjorn
caca0ef71c
t.headset.supersample;
...
Can be used to change the size of the headset texture that gets
submitted to the VR runtime. It can be a boolean or a number.
2020-09-25 15:41:30 -07:00
bjorn
f1447fd69a
lovr.graphics.get/setViewPose; lovr.graphics.get/setProjection;
2020-09-24 19:03:37 -07:00
bjorn
48a347ad01
mat4_fromQuat; mat4_getFov; getViewPose/Angles fixes;
2020-09-24 04:59:53 -07:00
bjorn
98918c5de5
OpenXR: rm visibility mask;
...
Haven't found a runtime that supports it yet.
2020-08-31 16:32:18 -06:00
bjorn
74546f357c
OpenXR: Use multiple canvases instead of a single one;
...
To avoid constant framebuffer completeness checks.
2020-08-31 16:31:17 -06:00
bjorn
28144c8143
OpenXR Android stuff;
2020-08-29 19:45:52 -06:00
bjorn
ee8848d4f0
OpenXR: Lazily create hand trackers;
...
Works around some behavior observed with Ultraleap API layer.
2020-08-28 20:58:58 -06:00
bjorn
cc02175241
OpenXR hand tracking;
2020-08-28 17:05:42 -06:00
bjorn
17616b8415
OpenXR: load extensions;
2020-08-28 17:05:42 -06:00
bjorn
37522bd8a3
OpenXR: MSAA;
2020-08-26 13:42:42 -06:00
bjorn
17e250c415
OpenXR: Cleanup/warnings;
2020-08-26 13:42:42 -06:00