45 Commits

Author SHA1 Message Date
mafiesto4 d6dc1f9998 Various minor tweaks 2023-12-03 14:09:23 +01:00
mafiesto4 7f87e9794b Fix job system buffer allocation data 2023-11-29 19:12:58 +01:00
mafiesto4 b960600102 Optimize scenes loading with Job System 2023-10-01 10:55:01 +02:00
mafiesto4 91c017713c Merge remote-tracking branch 'origin/master' into 1.6 2023-04-13 12:12:33 +02:00
mafiesto4 0c167f38b7 Add TaskGraphSystem.RemoveDependency and automatically cleanup dependencies on system destroy 2023-04-05 22:43:05 +02:00
mafiesto4 510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
mafiesto4 eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
GoaLitiuM b0bc1fa310 Fix error when joining exited threads
The internal thread handles were cleared prematurely when attempting to join them. The handles should be also cleared when trying to kill already exited threads.
2023-01-29 21:30:01 +02:00
mafiesto4 a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 7184566b4b Merge branch 'master' into 1.5 2022-12-29 23:04:18 +01:00
mafiesto4 6ef49349ff Fix assertion on thread double-free from registry (not harmful) 2022-12-29 18:30:51 +01:00
mafiesto4 df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
mafiesto4 eb281a7574 Additional improvements to scene rendering 2022-11-15 22:39:03 +01:00
mafiesto4 9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00
mafiesto4 bb7d4f7812 Fix console builds 2022-08-07 21:06:17 +02:00
mafiesto4 9d8f75d957 Fix rare issues with Task Graph not waiting for system due to recent job system changes #721 2022-08-05 11:05:11 +02:00
mafiesto4 ec7aece135 Improve Job System changes to prevent dynamic memory allocation and ref counting (#721) 2022-07-05 08:52:53 +02:00
mafiesto4 64b2b23201 Merge branch 'jobsystem_changes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-jobsystem_changes 2022-07-04 15:45:49 +02:00
GoaLitiuM 1978949b22 Allocate job context dynamically to prevent deadlocks 2022-06-12 13:56:13 +03:00
GoaLitiuM dc2a9c0702 Support dispatching jobs within jobs in JobSystem 2022-06-06 17:17:15 +03:00
mafiesto4 7979831f5c Add JobSystem.Execute utility for quick jobs running 2022-02-14 14:34:43 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 dfa5e91322 Fix conditional variables usage on broadcast by using a shared mutex 2022-01-12 17:36:06 +01:00
mafiesto4 192af7ec14 Refactor native core objects to simplify usage for newcomers 2022-01-08 15:06:23 +01:00
mafiesto4 2192852510 Fix crash when passing function with lambda to the Job System 2021-12-09 17:09:07 +01:00
intolerantape 25deea220c Added overload of Task::StartNew() to support void-returning member functions. 2021-12-03 07:54:08 -08:00
mafiesto4 8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
mafiesto4 074aa8c3fb Optimize ThreadLocal by removing size check 2021-08-30 20:29:58 +02:00
mafiesto4 7fc144b07b Fix some memory leaks 2021-08-13 13:13:12 +02:00
mafiesto4 f5e5686853 Optimize includes in ThreadLocal.h 2021-07-08 00:34:49 +02:00
mafiesto4 446458d20c Add PLATFORM_THREADS_LIMIT for maximum concurrency limiting 2021-07-08 00:34:48 +02:00
mafiesto4 29be6b0068 Fix ThreadLocal to use atomic operations and prevent rare race conditions 2021-07-08 00:34:48 +02:00
mafiesto4 c2590fc0d9 Optimize multiple dispatches on JobSystem done via TaskGraph 2021-06-16 19:02:02 +02:00
mafiesto4 bf70a42d86 Change TaskGraphSystem ordering 2021-06-15 23:49:43 +02:00
mafiesto4 f5cdb0abfd Add Delay node to Visual Scripting 2021-06-14 16:10:08 +02:00
mafiesto4 d7e7dcc823 Add Task Graph 2021-06-12 23:20:10 +02:00
mafiesto4 47af31a8c4 Tweaks 2021-06-12 23:20:09 +02:00
mafiesto4 544cb1ff6d Finish job system 2021-06-12 23:20:07 +02:00
mafiesto4 982b22b4b1 Add Job System 2021-06-12 23:20:05 +02:00
mafiesto4 0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
mafiesto4 3bc99c0949 Fix error on starting task to continue if it has been canceled 2021-02-21 15:01:03 +01:00
VNC 6ab300025b Fixed a ton of typos 2021-01-05 02:13:15 +01:00
jb-perrier 03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
mafiesto4 6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00