bjorn
87b979f51c
mv Activity.java Activity_vrapi.java;
2020-07-27 12:50:27 -06:00
bjorn
4a7557b0d1
Clean up Android CMake stuff;
2020-07-27 12:48:01 -06:00
bjorn
066a8a3795
opps;
2020-07-27 11:28:35 -06:00
bjorn
472c59bc7b
Fix windows build;
2020-07-19 17:57:05 -06:00
Bjorn
2ed8c8953f
Merge pull request #276 from EliasFleckenstein03/master
...
Fixed errors & warnings when compiling on linux
2020-07-11 11:14:26 -07:00
Elias Fleckenstein
7860322af9
Reverted size_t in ine 104 back to ssize_T
2020-07-11 15:32:15 +02:00
Elias Fleckenstein
ea9fadc1ad
Fixed errors & warnings when compiling on linux
...
I added header files with #include to prevent the implicit declaration warnings and fixed a typo in function size_t lovrPlatformGetExecutablePath(char* buffer, size_t size).
2020-07-10 16:32:45 +02:00
bjorn
6eab6d2a40
tup: rm manual GL flavor config;
2020-07-06 20:34:53 -06:00
bjorn
b9d6d7b70c
tup: rm core/gpu settings;
2020-07-06 20:31:38 -06:00
bjorn
3139730d8d
tup: Allow custom CMake build folder;
2020-07-06 20:22:57 -06:00
bjorn
a10363d21b
tup.config: Document Android settings;
2020-07-06 20:21:42 -06:00
bjorn
9abed055d8
lovr.log;
...
lovr.log is a new callback that is invoked whenever LÖVR wants to
send the project a message. For example, this could be a performance
warning from the graphics module, an error message from one of the
headset backends, or an API deprecation notice.
The callback's signature is (message, level, tag). The message is a
string containing the message to log, level is a string that is currently
one of "debug", "info", "warn", "error", and tag is an optional string
that is used to indicate the source of the message for grouping purposes.
The default implementation of the callback just prints the message,
but the callback can be overridden to do things like filter messages,
write them to a file, or even render them in VR. Projects can also
invoke the callback directly to log their own messages.
2020-07-06 16:20:55 -06:00
bjorn
8b8681ad2f
rm core/hash;
2020-07-06 16:01:31 -06:00
bjorn
d045929065
ShaderBlock:getShaderCode: add namespace support;
2020-07-04 17:50:00 -06:00
bjorn
29f8365eed
Clean up os_android and fix event polling issues;
2020-07-03 20:17:39 -06:00
bjorn
eb008935e8
vrapi: wasPressed/wasReleased;
2020-07-03 18:12:14 -06:00
bjorn
59a1c14c04
rm oculus_didChange;
2020-07-03 17:59:18 -06:00
bjorn
a9aaedae61
rm oculusmobile from t.headset.drivers;
...
Replaced by vrapi
2020-07-02 20:17:09 -06:00
bjorn
515cec673c
Fix quit request for glfw;
2020-07-02 20:15:06 -06:00
bjorn
fdd95bfa39
tup: link against egl and glesv3 on android;
2020-07-02 20:14:29 -06:00
bjorn
96337bf8cc
rm core/gpu;
...
This is far from done and will probably be structured a bit differently.
2020-07-02 10:46:13 -06:00
bjorn
9777306b70
rm oculus mobile;
2020-07-02 10:46:10 -06:00
Bjorn
26b4b58479
Merge pull request #273 from bjornbytes/android-tup
...
Android Support
2020-07-02 09:26:14 -07:00
bjorn
40cde54abf
tup: android config update;
2020-07-02 10:24:06 -06:00
bjorn
a0d2ba94ad
vrapi: haptics, tracking space fixes;
2020-07-02 10:22:38 -06:00
bjorn
0dd4a1191c
rm getApplicationId;
2020-06-29 18:10:03 -06:00
bjorn
0a27a0b17b
Fix ANDROID_ASSETS option;
2020-06-29 17:51:15 -06:00
bjorn
d8f7325bc7
lovr-oculus-mobile fixes;
2020-06-29 17:40:57 -06:00
bjorn
6c6c5fd360
CMake android support;
2020-06-29 17:20:26 -06:00
Bjorn
06d3d96068
Merge pull request #272 from jmiskovic/mat4tovec3
...
Initialize vec3 from mat4
2020-06-29 14:29:32 -07:00
Josip Miskovic
c314824304
Initialize vec3 from mat4
...
Rotation and scaling is lost, only position is extracted from mat4.
2020-06-28 11:49:43 +03:00
bjorn
4d6ad2239e
Quest input fixes;
2020-06-26 16:09:16 -06:00
bjorn
afaae2febb
Remaining android filesystem work;
2020-06-25 18:18:44 -06:00
bjorn
b77276fd1f
Android: make printf and print work;
2020-06-25 16:42:19 -06:00
bjorn
27b04b2bde
vrapi: Add support for focus awareness;
2020-06-25 15:00:12 -06:00
bjorn
6819a04f31
Bugfixes/cleanup for octupus go;
2020-06-25 14:29:44 -06:00
bjorn
2042010b5b
Move core/fs paths to core/os;
...
Usually these are more of a platform-specific concept, and they
don't really interact with files or do any io.
There is a little bit of duplication among the *nix platforms since
they're similar, but overall this organization feels a bit better.
2020-06-25 13:28:40 -06:00
bjorn
8b281d56e3
Android: Organize tup rules; Fix manifest;
2020-06-25 13:27:18 -06:00
Josip Miskovic
66d7e887c7
Config parameter for save directory precedence
2020-06-21 18:02:36 +03:00
Bjorn
c4e0ace182
Merge pull request #267 from mcclure/stop-vibrating
...
Oculus driver: Fix bug where vibration never stops once it has started
2020-06-11 10:41:50 -07:00
mcc
cf05249b8b
Oculus: Fix bug where vibration never stops
...
(because of a sign error)
2020-06-11 12:33:42 -04:00
bjorn
a1aa3c8ae8
Finish vrapi driver;
2020-06-09 18:02:03 -06:00
bjorn
b34c03bcc8
Tup build system for android;
2020-06-09 18:02:03 -06:00
bjorn
6bce095660
Fix newComputeShader(nil);
2020-06-07 15:47:53 -06:00
bjorn
f58c7075b1
OpenVR: Emit quit event when exiting from SteamVR dashboard;
2020-06-07 00:42:44 -06:00
Bjorn
27b2c0abad
Merge pull request #263 from jmiskovic/world-settings
...
Physics simulation access to global ERP and CFM
2020-06-04 10:06:51 -07:00
Bjorn
f800fc64ed
Merge pull request #264 from alloverse/fix/mic-overrun
...
lovrMicrophoneGetData: fix potential buffer overrun
2020-06-04 10:04:03 -07:00
Bjorn
ce68a9ed68
Merge pull request #265 from mcclure/offset-nosuch
...
shaderblock:getOffset() crashes on nonexistent field
2020-06-04 10:02:56 -07:00
mcc
0dcf86bc3d
Check shaderblock offset exists before reading. Prevents a segfault
2020-06-04 12:10:56 -04:00
Nevyn Bengtsson
e34953f064
lovrMicrophoneGetData: fix potential buffer overrun
...
With the check for samples==0 being done BELOW the assert for offset+samples<soundData->samples,
setting samples to 0 and then having more samples available in the mic than present in
the created buffer would cause buffer overrun
2020-06-04 14:31:24 +02:00