bjorn
1a1605f9ce
rm textureData include;
2020-11-12 18:08:05 -07:00
bjorn
75c37bf7e9
rm trailing whitespace;
2020-11-12 18:08:05 -07:00
bjorn
276faf30ad
l_event cleanup;
2020-11-12 18:08:05 -07:00
bjorn
e533adf649
openxr indentation;
2020-11-12 18:08:05 -07:00
bjorn
cdac6bf146
Fix textureData include;
2020-11-12 18:08:05 -07:00
bjorn
5f0542cc43
Fix util declspec spacing;
2020-11-12 18:08:05 -07:00
bjorn
827dfda748
TextureData:encode returns Blob; rm core/png;
2020-11-12 18:08:05 -07:00
bjorn
1e7749a58a
Fix MSVC warnings;
...
It's that time of year.
2020-11-12 18:08:05 -07:00
bjornbytes
a81cd0d731
KeyCode -> KeyboardKey because X11 conflict;
2020-11-12 18:08:04 -07:00
bjornbytes
13fe2411a3
CMake: Add LOVR_SYSTEM_OPENXR;
...
Searches for the system-installed OpenXR loader using pkg-config.
2020-11-12 18:08:04 -07:00
bjorn
7031eaa96a
tup: Fix windows openal path;
2020-11-12 18:08:04 -07:00
bjorn
362e5525e7
Fix OpenXR view matrix;
2020-11-12 18:08:04 -07:00
bjorn
81065a6e6b
Ref overflow no longer prints filename;
...
It was an absolute path.
2020-11-12 18:08:04 -07:00
bjorn
4ef944d7c1
lovrDestroy calls lovrPlatformDestroy;
2020-11-12 18:08:04 -07:00
bjorn
f472f0161c
os_web: Unregister callbacks in lovrPlatformDestroy;
2020-11-12 18:08:04 -07:00
bjornbytes
ca538e6594
tup: Use -Oz instead of -Os; No LTO; Linux fixes;
2020-11-12 18:08:04 -07:00
Bjorn
86f03ad1a8
Merge pull request #328 from jmiskovic/fix/orphan-shape-crash
...
Check if shape can be positioned and oriented
2020-11-12 17:54:53 -07:00
Josip Miskovic
b735015f6e
Check if shape can be positioned and oriented
...
Shape without attached collider cannot be positioned or oriented. Trying
to do so results in ODE crash. Better to throw a more descriptive error.
2020-11-12 17:18:40 +01:00
Bjorn
8ab8b7ac78
Merge pull request #326 from Voxar/voxar/audio_setCone_arg_index
...
Correct the argument indices for Source:setCone
2020-11-11 14:53:37 -07:00
Patrik Sjöberg
ec501903d5
Correct the argument indices for Source:setCone
2020-11-11 22:17:10 +01:00
bjorn
61eaf579cd
Thread local vector metatable refs;
2020-11-06 13:12:57 -07:00
Bjorn
5d5adfe7ea
Merge pull request #323 from alloverse/fix/window-icon-crash
...
don't free window icon before it's used
2020-11-06 13:09:31 -07:00
Nevyn Bengtsson
326d275424
don't free window icon before it's used
...
It seems to me like that lovrRelease will delete textureData->blob immediately,
which means the windowing system later can't use it because it's already freed.
There's already a free on line 378 which looks more correct.
Also, icon appears flipped if 'flipped' is set to true here on Linux. Is GLFW
inconsistent between linux and windows, or should it indeed be false?
2020-11-06 21:00:38 +01:00
bjornbytes
5c381ead34
Force set vsync in lovrGraphicsCreateWindow;
...
Headset drivers are allowed to override the vsync setting if vsync
messes up their frame timing. The vsync property is effectively a
global piece of state in core/os and doesn't change across restarts
because the window is persistent. This can mean that if you switch
from a headset driver that wants vsync off (anything except desktop)
to a headset driver that doesn't care what the vsync is (desktop),
you could end up with a vsync setting that doesn't match t.window.vsync.
I think this is a symptom of poor design somewhere and the best solution
to this probem is "to just not have it". Similar issues exist for, e.g.
the window size (but that one is less weird because at least you were
the one who changed it). For now we are just going to ensure that
lovr.graphics.createWindow always modifies the vsync property.
Untested, may need to adjust this fix later.
2020-11-02 11:57:02 -07:00
bjornbytes
a68320c66a
Always rebuild APK;
2020-11-02 11:47:44 -07:00
bjorn
e12a6b7dc4
Fix WebGL;
2020-11-01 23:11:35 -07:00
Bjorn
96f2735e14
Merge pull request #322 from nevyn/patch-1
...
network permissions for pico too
2020-11-01 15:04:29 -07:00
Nevyn Bengtsson
a321d997a1
network permissions for pico too
2020-11-01 22:54:02 +01:00
Bjorn
4b7b1cebbc
Merge pull request #321 from bferguson3/oculus-manifest-fix
...
enet and hand tracking permissions fix
2020-11-01 14:47:00 -07:00
Ben Ferguson
efe143bf55
enet and hand tracking permissions fix
2020-11-01 16:43:03 -05:00
bjorn
38875cb399
Fix buffer flushing;
...
lovrGraphicsMapBuffer had the potential to cause a flush. Flushing
unmaps buffers. This meant that during any of the calls to map while
creating a Batch, it was possible to cause a flush and unmap other
buffers that expected to be mapped. This caused writes to unmapped
pointers and subsequent skipping of calls to glFlushMappedBufferRange.
The fix is to figure out if we need to flush upfront and get it out
of the way before mapping any buffers.
2020-10-29 12:12:34 -06:00
Bjorn
931147531a
Merge pull request #309 from mcclure/no-password
...
Add a check so apksigner works even without ANDROID_KEYSTORE_PASS
2020-10-27 21:45:17 -06:00
mcc
2be1c777d7
Add a check so that if ANDROID_KEYSTORE_PASS is not given, apksigner can still be invoked.
...
This is done by omitting the --ks-pass argument completely
2020-10-27 23:27:02 -04:00
Bjorn
dbc2780e15
Merge pull request #301 from Wallbraker/openxr-action-state
...
OpenXR: Make sure to set types for XrActionState[Boolean|Float] structs
2020-10-25 01:00:06 -06:00
Jakob Bornecrantz
22a14e1013
OpenXR: Make sure to set types for XrActionState[Boolean|Float] structs
2020-10-25 01:20:44 +01:00
Bjorn
3b07309840
Merge pull request #300 from Wallbraker/openxr-right-actions-fix
...
OpenXR: Fix right actions not being marked as active in xrSyncActions call
2020-10-24 17:25:45 -06:00
Jakob Bornecrantz
e7d0a73353
OpenXR: Fix right actions not being marked as active in xrSyncActions call
2020-10-25 00:14:17 +01:00
Bjorn
ed09805e47
Merge pull request #297 from Wallbraker/openxr-validation-fixes
...
OpenXR: Fixes for implementations that are more strict with validation
2020-10-24 16:04:44 -06:00
Jakob Bornecrantz
b8e3c187ed
OpenXR: Fixes for implementations that are more strict with validation
2020-10-24 18:13:41 +01:00
Bjorn
efaaeea721
Merge pull request #293 from alloverse/fix/handtracking-pose
...
Quest: Make tracked hands have a pose facing -Z
2020-10-22 13:23:22 -06:00
Nevyn Bengtsson
57827eed3c
Quest: Make tracked hands have a pose facing -Z
...
To be consistent with the pose for controllers.
2020-10-21 22:44:57 +02:00
bjorn
6a4779e899
Pico: Reset index buffer binding using vao;
2020-10-19 19:24:18 -06:00
Bjorn
313a707327
Merge pull request #291 from alloverse/fix/pico-eyes
...
pico: start each eye from origin
2020-10-16 10:18:31 -06:00
Nevyn Bengtsson
0b9f4d30fd
pico: start each eye from origin
2020-10-16 09:29:29 +02:00
bjorn
85cc82d8cb
v0.14.0;
2020-10-05 16:40:27 -06:00
bjorn
0388213be4
Reset camera after lovr.headset.renderTo;
2020-10-02 19:50:00 -06:00
bjorn
11d088babd
tup win32 track pdb files;
2020-10-02 19:50:00 -06:00
bjorn
98f481e941
WebXR input fixes;
2020-10-02 15:57:42 -06:00
Bjorn
fc48df874c
Merge pull request #289 from alloverse/noheadset
...
Allow lovr.headset.init to fail
2020-10-01 14:49:40 -06:00
Nevyn Bengtsson
da79a87328
Allow lovr.headset.init to fail
...
with a pcall, like the requires above. so if there
is no matching headset driver, the module is just
turned off.
2020-10-01 22:43:57 +02:00