bjorn
ff77a30f01
Default shaders;
2022-05-27 20:47:20 -07:00
bjorn
de30337374
core/spv;
2022-05-22 15:02:42 -07:00
bjorn
9ae285afa7
Add glslang;
2022-05-09 11:45:15 -07:00
bjorn
0ee4a105c5
tup: add -s USE_WEBGPU properly;
2022-04-21 18:08:11 -07:00
bjorn
557f18ab3c
Add gpu_webgpu;
...
Send help
2022-04-21 17:58:26 -07:00
bjorn
41dfd64548
tup: Don't export webxr_attach/webxr_detach if webxr is disabled;
2022-04-21 17:48:40 -07:00
bjorn
40e9a4ab73
core/gpu;
2022-04-21 17:39:59 -07:00
bjorn
37221afbc6
rm graphics module;
2022-04-21 17:39:58 -07:00
bjorn
218134d79c
Compile miniaudio without pedantic;
...
It throws warnings when compiling as wasm.
2022-04-19 22:45:17 -07:00
bjorn
c2847cedce
Details;
2022-04-19 22:45:06 -07:00
bjorn
2dc9081d02
wasm target uses gnu11 standard;
...
This is because compiling with newer versions of emscripten warns
on use of EM_ASM without GNU C, and miniaudio uses EM_ASM.
2022-04-19 22:43:05 -07:00
bjorn
8af8d7922a
tup: Lua also defines linux flag on android;
2022-04-06 09:22:50 -07:00
bjorn
972a0f2333
tup: define platform-specific Lua define;
2022-04-01 17:10:25 -07:00
bjorn
dd7ed4eb51
tup: simplify tup.config overrides;
2022-04-01 16:54:28 -07:00
bjorn
7d3aa3e061
tup: s/overrides/troublemakers;
2022-04-01 16:05:16 -07:00
bjorn
afbf98929f
Clean up tup a bit;
2022-04-01 15:58:13 -07:00
bjorn
5d271de91a
mv map util;
2022-03-30 12:34:38 -07:00
bjorn
faa42ee38b
mv resources etc;
2022-03-30 12:34:34 -07:00
bjorn
f347ac98d9
Switch to simplex noise;
...
Pending test
2022-03-27 01:21:52 -07:00
bjorn
301f7b2cc9
Android mounts save directory earlier;
...
This fixes issues with conf.lua not getting read properly, and also
the weird quirk of getIdentity not working until setIdentity runs.
2022-03-23 18:27:05 -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
2da18d419b
mv util src;
2022-03-22 00:13:38 -07:00
bjorn
c097a266b4
Add Oculus OpenXR loader submodule;
2022-03-21 03:10:13 -07:00
bjorn
fc47bde23b
Compile as C11 instead of C99;
2022-03-20 01:44:18 -07:00
bjorn
aa3b04e514
tup: fix OpenXR on Android;
2022-03-16 15:43:07 -07:00
bjorn
757987ef04
tup: fix glfw on macos; add avfoundation framework;
2022-03-11 16:44:39 -07:00
bjorn
90acaf0c48
tup: os_macos compiles as objective C;
2022-03-11 13:58:13 -07:00
bjorn
3f87393e04
Silence ode warning;
2022-02-02 14:37:11 -08:00
bjorn
9ff00ae789
tup: use d8 instead of dx;
2021-12-07 18:20:03 +02:00
bjorn
743be341f4
tup: prettier clang error colors;
2021-10-31 12:06:03 -07:00
bjorn
ce43386a42
Update tup config;
...
- tup.config can now override Lua config values
- comment some of the config values
2021-10-28 14:35:05 -07:00
bjorn
5aa0da0df5
tup: buildtoolsversion -> buildtools; native target instead of nil;
2021-08-19 12:22:14 -07:00
bjorn
f552bacb2d
tup: fix android project file inclusion;
2021-07-21 03:33:54 -07:00
bjorn
20a7a32c73
tup: c++ dependencies link to libstdc++ statically;
...
This is probably "bad" but it fixes some android stuff. And hey,
lovr doesn't link against libc++ at all anymore.
2021-07-21 03:32:56 -07:00
bjorn
cd69ffa5da
tup: engage supercharge boosters;
2021-07-21 03:32:28 -07:00
bjorn
cca24fe581
Tweak gitignore;
...
- Machine-specific excludes do not belong in lovr's gitignore.
They should be configured using .git/info/exclude or globally.
- Preferential excludes should use .git/info/exclude (e.g.
plugins, in-tree lua files).
- This restricts gitignore to build-system-generated artifacts.
Honestly I'd like to remove these too, but need to monitor.
2021-07-19 00:02:10 -07:00
bjorn
e4b86bf550
Add _DEFAULT_SOURCE to linux;
2021-07-18 22:24:00 -07:00
bjorn
9cc7e9c3f9
Update submodule paths;
2021-07-18 22:24:00 -07:00
bjorn
1eaad0ab3b
Adjustments for xr path changes and idsig file;
2021-07-18 22:24:00 -07:00
bjorn
a7250cf4ca
gc-sections; unwind-tables;
2021-07-18 22:24:00 -07:00
bjorn
ecd7769ba0
Convert Tupfile to Lua;
2021-07-18 22:24:00 -07:00