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
bjorn
aa52fc9ca4
OpenXR: Session fixes; getMirrorTexture; Frame submission;
2020-08-26 13:42:42 -06:00
bjorn
420ab91575
OpenXR: Fix clipFar;
2020-08-26 13:42:42 -06:00
bjorn
833fabb733
OpenXR: Add identity pose to reference spaces;
2020-08-26 13:42:42 -06:00
bjorn
93d82a8d14
OpenXR: Call xrGetOpenGLGraphicsRequirementsKHR;
2020-08-26 13:42:42 -06:00
bjorn
beb281a43d
Pass instance to xrResultToString;
2020-08-26 13:42:42 -06:00
bjorn
2ced7c2c16
OpenXR: More robust graphics plugin;
2020-08-24 03:09:26 -06:00
bjorn
244e6cdd75
OpenXR focus events;
2020-08-24 02:10:12 -06:00
bjorn
0b94fe336e
Reorganize OpenXR graphics extension stuff;
2020-08-24 02:04:06 -06:00
bjorn
5ab8dffd8d
Fix OpenXR axis actions;
...
2D axes can't be used as 2D actions and instead need to be represented
as two 1D axes. Also fixup oculus touch / valve index action paths.
2020-08-23 16:11:20 -06:00
bjorn
9f769470e6
Fix OpenXR OpenGL swapchain type;
2020-08-23 16:10:57 -06:00
bjorn
0439c932ce
openxr: Move actions into resources;
2020-08-22 15:40:52 -06:00
bjorn
f364fe030b
Make Windows platform functions more private;
2020-08-18 21:21:35 -06:00
bjorn
17ce02d429
Fix OpenXR compile errors and add some android support;
2020-08-18 21:10:06 -06:00
bjorn
7e941cd22f
lovr.headset.animate; Animated OpenVR controller models;
...
- lovr.headset.newModel accepts an optional options table as the
second argument. There is currently a single option named
'animated' that can be used to request an animatable model.
Currently it isn't clear if this should be a hint or not.
- lovr.headset.animate (name pending) can be called with a device
and a model (usually with an animated model from headset.newModel,
but this is not required). The function attempts to animate the
Model to match the pose of the device in an opaque driver-specific
way, and returns whether or not this was successful.
- OpenVR has models for controllers with a system called "components"
that can be used to animate the individual buttons. Now the OpenVR
headset driver implements the 'animate' function to make use of the
controller components, to easily load and render animated controllers.
2020-08-05 15:05:59 -06:00
bjorn
6d2fdac89f
Prefix headset implementation files with headset_;
2020-05-24 13:32:13 -06:00