bjorn
af32526d2f
Fix issues with uniform buffer binding;
2024-06-15 12:03:59 -07:00
Bjorn
0142355fd4
Merge pull request #785 from bjornbytes/test
...
Tests
2024-06-14 17:06:00 -07:00
bjorn
feec8f8841
Run tests on windows/macos;
2024-06-14 16:59:05 -07:00
bjorn
7ffd884f22
Fix issue on Linux when .local/share doesn't exist;
2024-06-14 16:59:05 -07:00
bjorn
1ebb5a9cbb
tests;
2024-06-14 16:59:04 -07:00
bjorn
44f7ed6d28
CMake: avoid include_directories;
2024-06-14 03:01:25 -07:00
bjorn
7663167aa8
CMake: Tell Jolt to generate debug symbols sometimes;
2024-06-13 21:49:05 -07:00
bjorn
867dc14e19
Error when Contact is used outside of a World callback;
...
Not perfect, but should catch most usage.
2024-06-13 21:28:34 -07:00
bjorn
4b0d73868a
Give Contact a refcount;
...
Contacts are not refcounted, but their refcount is decremented when they
are collected/released.
2024-06-13 21:27:54 -07:00
bjorn
b05c7a1c63
Add Contact to enter callback;
2024-06-13 21:08:41 -07:00
bjorn
6b18734e83
Remove OVERRIDE_MSVCCRT glslang CMake variable;
...
It was removed from newer versions of glslang.
2024-06-12 14:26:28 -07:00
bjorn
449004971d
Fix physics query callbacks;
...
Co-Authored-By: xiejiangzhi <xiejiangzhi@gmail.com>
2024-06-11 22:32:39 -07:00
bjorn
a0c4b0e524
Update glslang;
...
To see if it fixes Windows CI failures...
2024-06-10 14:27:52 -07:00
bjorn
5874cc562a
More fixes for shader resource mapping;
...
- Unused variables (set=0 + binding=0) were not getting binding numbers
assigned.
- The various "masks" for buffer/texture/storage etc. were conflating
binding numbers with resource index. These were always the same, but
this wasn't the case for an unused variable. Change it to always be
the binding number, to avoid confusion.
2024-06-10 14:15:25 -07:00
bjorn
4b0a3c4ba4
Fixes for Shader:getBufferFormat;
2024-06-07 11:17:37 -07:00
bjorn
dbcfb01da0
actions: update ubuntu package list;
2024-06-06 10:21:52 -07:00
bjorn
bb48cdadfb
xcb backend respects LOVR_USE_GLFW;
2024-06-06 09:57:30 -07:00
bjorn
44ef12c59c
More CMake fixes;
2024-06-06 09:46:54 -07:00
bjorn
5648aff209
CMake: link against xcb-xinput;
2024-06-06 09:46:54 -07:00
bjorn
f89ac9133a
xcb: details;
2024-06-06 09:46:54 -07:00
bjorn
b0de12a5ae
xcb: raw mouse input;
2024-06-06 09:46:54 -07:00
bjorn
68a7208e36
WIP mouse grabbing;
2024-06-06 09:46:54 -07:00
bjorn
7bdb679493
xcb: key repeat;
2024-06-06 09:46:54 -07:00
bjorn
7429f88e4f
xcb: fix window size hints;
2024-06-06 09:46:54 -07:00
bjorn
840455d123
Explicitly tell LuaJIT to use PIC;
2024-06-06 09:46:54 -07:00
bjorn
a0806928a4
More build fixes;
2024-06-06 09:46:54 -07:00
bjorn
929c1e850d
Build fixes;
2024-06-06 09:46:54 -07:00
bjorn
48a6a8f906
xcb: mouse events;
2024-06-06 09:46:54 -07:00
bjorn
b2993aa996
xcb: non-resizable window hints;
2024-06-06 09:46:54 -07:00
bjorn
1985eaee11
xcb: vulkan surface;
2024-06-06 09:46:54 -07:00
bjorn
d1f9271982
Rebase fix;
2024-06-06 09:46:54 -07:00
bjorn
a511b03ac0
xcb: private methods;
2024-06-06 09:46:54 -07:00
bjorn
030622c546
xcb: xkb;
2024-06-06 09:46:54 -07:00
bjorn
78115f9df6
xcb: window size/resize;
2024-06-06 09:46:54 -07:00
bjorn
04118da46f
xcb: rm opengl stuff, add vk stuff;
2024-06-06 09:46:54 -07:00
bjorn
fdf15d75c9
xcb: maybe os_set_mouse_mode;
2024-06-06 09:46:54 -07:00
bjorn
d114818c46
xcb: fullscreen support;
2024-06-06 09:46:54 -07:00
bjorn
7999d2492e
Window title;
2024-06-06 09:46:54 -07:00
bjorn
74a247ce9f
Fixes;
2024-06-06 09:46:54 -07:00
bjorn
331467a836
Organization;
2024-06-06 09:46:54 -07:00
bjorn
75619a6bc4
Start xcb backend;
2024-06-06 09:46:54 -07:00
bjorn
b7ca3b84f9
Improve physics thread safety;
...
- Error when trying to modify a collider during a world callback
- Use non-locking body interface when reading from a collider during a
world callback to avoid deadlock
- Other Threads can still mess with colliders even while World:update is
running in another thread, they will wait until the update is done.
- Use BodyInterface more, notably when reading collider pose info.
Remaining improvements:
There are still some places that aren't locking that maybe should be,
notably when using a body's MotionProperties?
2024-06-04 10:42:30 -07:00
bjorn
eb55cae0bc
Use thread_local instead of LOVR_THREAD_LOCAL;
2024-06-04 09:54:04 -07:00
bjorn
1b5302972f
Flip the order of the optional Collider in Joint constructors;
...
Making the second collider the parent was messing up anchor points.
2024-06-03 09:46:02 -07:00
bjorn
38ac0e4022
Rename contact penetration to overlap;
2024-06-03 08:39:34 -07:00
bjorn
0966234a65
Motor force getters return forces instead of impulses;
2024-06-02 18:26:53 -07:00
bjorn
a9b5bca102
Better defaults for spring setters;
2024-06-02 18:26:53 -07:00
bjorn
224f8f99cf
Split motor target into mode and target;
2024-06-02 18:26:53 -07:00
bjorn
9de74d071f
Rename TargetType to MotorMode;
...
No API change;
2024-06-02 18:26:53 -07:00
bjorn
b28c6efb2e
Don't check failure value when deciding to run CLI;
...
require returns true if the module doesn't return anything, so there are
situations where pcalling require would set the failure variable to
true, preventing the CLI from running. I think it's fine to just check
the ok variable.
2024-05-30 18:12:37 -07:00