bjorn
a17f10e273
Add modules folder;
2019-05-19 00:38:35 -07:00
bjorn
4a47afca38
Organize api folder;
2019-05-19 00:31:42 -07:00
bjorn
79ba7a7ad5
gltf: Support partially-keyed animation properties;
2019-05-18 22:19:28 -07:00
bjorn
8d1b335da4
More mapping fixes;
2019-05-18 21:34:36 -07:00
bjorn
440b30df59
Add filter/wrap to default texture;
2019-05-18 04:33:28 -07:00
bjorn
1792f066f2
Fix CMakeLists; Fix buffer unmapping; Formatting;
2019-05-18 01:09:06 -07:00
bjorn
e3e52a7808
Fix issue when animated model has no animator;
2019-05-18 00:30:43 -07:00
bjorn
976d59e364
Undo single-translation-unit experiment for now;
2019-05-17 16:29:24 -07:00
bjorn
6f7c30e7e2
Single-translation-unit experiment;
2019-05-15 12:05:56 -07:00
bjorn
1aef9963f5
Clean up thread module;
2019-05-14 04:43:38 -07:00
bjorn
a4e563fe6f
Clean up event module;
2019-05-14 04:37:56 -07:00
bjorn
3267bad4fa
Add ShaderFlags;
...
newShader and newComputeShader accept an optional options table
that can contain a table of flags. Flags are turned into #defines
in the shader source and can be used as specialization constants in
the future.
Currently they can only be bools and ints. This might change to add
float and/or remove bools.
2019-05-14 03:48:01 -07:00
bjorn
6134abe866
Handle vsync better;
...
- Add vsync flag to t.window and lovr.graphics.createWindow.
- vsync is 1 by default.
- Some headset drivers override vsync if they have special timing requirements.
2019-05-14 00:18:22 -07:00
bjorn
15c4b6fcd2
Fix me ifdefs;
2019-05-13 20:52:11 -07:00
bjorn
f786c40b4e
Rework Buffer updates;
...
Use unsynchronized mapped buffers on macOS.
Reduce amount of Buffer flushes and stalls by flushing once per
batch instead of once per draw.
2019-05-13 20:35:21 -07:00
bjorn
b8ed63fcc4
Fix double/float conversions;
2019-05-13 04:28:57 -07:00
bjorn
8ee7a7c9a3
haha windows;
2019-05-13 04:28:42 -07:00
bjorn
566cd20984
Cleanup;
2019-05-13 04:25:34 -07:00
bjorn
69260cfbb3
openvr: rm state.rift;
...
Yay actions?
2019-05-13 04:25:34 -07:00
bjorn
8e7a4323d0
rm custom PI define;
2019-05-13 03:56:34 -07:00
bjorn
83b8ee2d08
Audio cleanup;
2019-05-13 03:53:17 -07:00
bjorn
97e3774718
Make TimerState private;
2019-05-13 03:35:41 -07:00
bjorn
963f496ac1
Lua hides a Type in its userdata;
2019-05-13 03:21:11 -07:00
bjorn
429efcb38d
Change circle size argument from diameter to radius;
2019-05-12 23:34:04 -07:00
bjorn
51ce0c1418
rm compat;
2019-05-12 22:28:02 -07:00
bjorn
7c2a119324
SteamVR Input
2019-05-12 22:23:28 -07:00
bjorn
c20554645e
Initial KTX support;
2019-05-12 22:23:28 -07:00
bjorn
5b0fa8b522
Fix warnings;
2019-05-12 22:23:28 -07:00
bjorn
9a1579a773
Ensure maf symbols are exported on unix;
2019-05-12 22:23:28 -07:00
bjorn
db3c3dbb1e
Fix lovr.headset.hands;
2019-05-12 22:23:28 -07:00
bjorn
ebcdc6d36e
Ensure bone pose gets reset when not animating;
2019-05-12 22:23:28 -07:00
bjorn
28c453075a
Fix batching overflow;
2019-05-12 22:23:28 -07:00
bjorn
511afef0c6
Fix batching issue with non-instanced primitives;
2019-05-12 22:23:28 -07:00
bjorn
6ff35420bd
More leap fixes;
...
Also reduce branching in headset accessors.
2019-05-12 22:23:28 -07:00
bjorn
06b8b6f405
Leap fixes;
2019-05-12 22:23:28 -07:00
bjorn
26c1859531
Update WebVR;
2019-05-12 22:23:28 -07:00
bjorn
9382afb94d
Put controller models back on nogame screen;
2019-05-12 22:23:08 -07:00
bjorn
2ecae65925
trackpad -> touchpad;
...
Sorry
2019-05-12 22:23:02 -07:00
bjorn
57321db2cd
lovr.headset.getDriver accepts devices;
2019-05-12 22:23:02 -07:00
bjorn
5413f6a427
Device iterators;
2019-05-12 22:23:02 -07:00
bjorn
7807b1abd7
lovr.headset.getAcceleration, getAngularAcceleration;
...
Add missing getBonePose impls.
Refactor some ovr stuff.
2019-05-12 22:23:02 -07:00
bjorn
b6e1e5e3b0
lovr.headset.getBonePose; Device shorthands;
2019-05-12 22:23:02 -07:00
bjorn
05f4ba7342
Change everything;
...
Use enums because they make things easier.
2019-05-12 22:23:02 -07:00
bjorn
b86340ac69
LOVR_USE_LEAP is false by default;
2019-05-12 22:23:02 -07:00
bjorn
1d079f0c95
Fix desktop_isDown;
2019-05-12 22:23:02 -07:00
bjorn
e21b64155a
Re-prefix headset backend function names;
2019-05-12 22:23:02 -07:00
bjorn
89ccf750ba
Start compat system;
2019-05-12 22:23:02 -07:00
bjorn
4b3e72a5f1
Fix warnings;
2019-05-12 22:22:29 -07:00
bjorn
2aace190fe
Add oculus:getDisplayTime;
2019-05-12 22:22:29 -07:00
bjorn
5947a96556
Fix getDisplayTime prototype;
2019-05-12 22:22:29 -07:00