Commit Graph

7385 Commits

Author SHA1 Message Date
Lynix 7cd1b32e95 Core/File: Add DecodeOpenMode 2023-12-25 19:51:19 +01:00
Lynix 4065fbfb1a Core/OpenMode: Rename ReadOnly/WriteOnly to Read/Write 2023-12-25 19:49:03 +01:00
SirLynix 754a3d3614 Update unit tests for angle normalization change introduced in 6dc27e7948 2023-12-23 14:36:04 +01:00
SirLynix 91221a9b4a Minor changes 2023-12-23 14:01:04 +01:00
SirLynix 6dc27e7948 Math/Angle: Fix Normalization range ([0;360] => [-180;180]) 2023-12-23 13:37:22 +01:00
SirLynix 496800fc5c Graphics/UberShader: throw an exception if shader module couldn't be resolved 2023-12-21 00:08:30 +01:00
SirLynix 92e9a75ffa Platform: Add MessageBox 2023-12-21 00:08:14 +01:00
SirLynix baaea2a33f Math: Improve code 2023-12-20 16:13:36 +01:00
SirLynix f2201404f3 Core/Clock: Add Tick method 2023-12-18 12:15:08 +01:00
SirLynix 8efebef26c Graphics/UberShader: Replace missing UInt32 by the new OptionHash using 2023-12-17 21:07:58 +01:00
SirLynix 83366e93d4 Make changes for breaking NZSL update
Fix build

Fix compilation (again)

Fix global included

TextureAsset belongs to another branch

Add missing include

Fix include (should be good, finally)
2023-12-17 20:40:45 +01:00
SirLynix 87bf4563f2 Update auto-gen files 2023-12-17 16:00:44 +01:00
SirLynix b7bdc74f3f Graphics/SpotLight: Add UpdateAngles method 2023-12-17 15:59:53 +01:00
SirLynix 3514ac6340 Widgets/Canvas: Add mouse unhandled signals 2023-12-07 18:28:11 +01:00
SirLynix 1615bc4229 Fix PhysicsPlayground 2023-12-07 17:30:29 +01:00
SirLynix f2672f6376 Fix compilation 2023-12-07 17:14:20 +01:00
SirLynix f5fefc7b86 Math: Add AngleBetween and RotateTowards for Vector3 and Quaternion 2023-12-07 16:50:22 +01:00
SirLynix 3fd696385d JoltPhysics3D/JoltPhysWorld3D: Add CollisionQuery for points and shapes 2023-12-07 16:49:48 +01:00
SirLynix 26dbdef50d JoltPhysics3D: Add elapsedTime parameter to PostSimulate 2023-12-07 16:45:46 +01:00
SirLynix 6cbfb01243 JoltPhysics3D: Allow raycast to return hit characters (and retrieve their entities) 2023-12-07 16:45:14 +01:00
SirLynix f2ab31cc4b Core/Error: Remove starting / from file log 2023-12-07 16:42:44 +01:00
SirLynix 62d5e611f1 Core/Error: Make error log only the filename where the error occurred 2023-12-04 18:22:40 +01:00
SirLynix 5253a80a24 Audio: Fix compilation on emscripten | unity_build 2023-12-04 17:50:12 +01:00
SirLynix 3fb1096d07 Audio: Implement support for ALC_EXT_thread_local_context 2023-12-04 17:38:05 +01:00
SirLynix 3e1b61070c Audio/OpenALDevice: Fix previous commit 2023-12-04 17:37:40 +01:00
SirLynix b5576ccb9f Audio: Fix data race when a device is used from multiple threads
OpenAL devices can be used from multiple threads and the error handling code (inspired by OpenGLRenderer) did not take that into account. This is not a problem for the OpenGLRenderer since contexts are thread-local which is not the case for OpenAL devices.
2023-12-04 11:01:01 +01:00
SirLynix 81c5322331 Widgets/BoxLayout: Try to fix widget layout 2023-12-04 09:49:48 +01:00
SirLynix 0c29bce3d8 Utility/SubMesh: Allow tangent generation with 3D texcoords 2023-12-04 09:46:31 +01:00
SirLynix c06898fcde Audio: Fix compilation with emscripten 2023-12-04 09:45:09 +01:00
Jérôme Leclercq 876023ffa9
Core: Fix use of std::bit_cast 2023-12-04 00:38:10 +01:00
SirLynix f75a00efe2 Audio: Fix loading of OpenAL extensions (pointers are context-local) 2023-12-04 00:23:39 +01:00
SirLynix 6059f608c0 Minor improvements 2023-12-04 00:22:36 +01:00
SirLynix f7f31431cb JoltPhysics3D/JoltRigidBody3D: Fix IsSleeping 2023-12-04 00:21:51 +01:00
SirLynix e8c594e325 Graphics/ForwardFramePipeline: Fix viewers ordering 2023-12-03 15:45:44 +01:00
SirLynix 27bc5d48e9 Graphics/ForwardFramePipeline: Fix crash with multiple viewers on a single target 2023-12-03 15:31:32 +01:00
SirLynix 73fc061412 Audio/Music: Remove unnecessary code
Play() blocks until the thread (and source) has started
2023-12-03 15:30:39 +01:00
SirLynix 0137bd1871 Graphics/RenderTextureBlit: Fix default MemoryAccess 2023-12-03 15:29:54 +01:00
Lynix 76404f5e0e Core/Modules: Fix env var override when no parameter is passed 2023-12-02 13:56:24 +01:00
Lynix 4ee4092bba Cleanup includes 2023-12-02 13:56:24 +01:00
Lynix 4b71f90cf7 CI: Disable OpenAL on macOS 2023-12-02 13:56:23 +01:00
Lynix dc9c1e14c4 Allow to use env vars to override module configs 2023-12-02 13:56:23 +01:00
Lynix 5472514f4b Core: Add EnvironmentVariables 2023-12-02 13:56:23 +01:00
Lynix ba7d2221d0 Audio/SourceEmitter: Throw exception if audio source couldn't be created 2023-12-02 13:56:23 +01:00
Lynix 36dcc03c11 Audio/OpenALDevice: Improve error when buffer/source creation fails 2023-12-02 13:56:06 +01:00
Lynix 150787971a Audio/Music: Fix possible data-race in GetPlayingOffset 2023-11-29 22:26:19 +01:00
SirLynix ad81b8642e CI: Add sanitizers to macOS build 2023-11-29 11:41:22 +01:00
Jérôme Leclercq 32d227628c
Integrate render target handling in frame graphs (#411)
* Graphics: Integrate RenderTarget in FrameGraph

- This handles the blit to texture/swapchain in the FrameGraph and fixes RenderTextureBlit
- Dummy attachments were added to the FrameGraph class to handle link without texture (used to setup a dependency between two passes with no texture)
- FramePass now supports custom access/layout/usage for inputs

* Graphics/RenderTarget: Allow to set any RenderTarget as output
2023-11-28 21:00:57 +01:00
Lynix f57fc3c1d5 Fix previous commit 2023-11-28 20:33:21 +01:00
Lynix 63ddf35a86 Renderer/RenderResources: Fix PushReleaseCallback forwarding ref
Using a concept here breaks perfect forwarding
2023-11-28 20:20:36 +01:00
Lynix 079f153640 Minor fixes 2023-11-28 20:05:09 +01:00