Commit Graph

83 Commits

Author SHA1 Message Date
Wojtek Figat
40652a0ebc Fix HashSet adding item via move operation 2024-05-08 17:28:14 +02:00
Wojtek Figat
3e475398e7 Optimize draw calls batching sorting with Merge Sort 2024-04-12 16:02:37 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
2fd47f91e2 Fix codestyle #2179 2024-02-19 17:36:37 +01:00
Wojtek Figat
e8e52da51c Merge branch 'Collections' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-Collections 2024-02-19 17:34:23 +01:00
Wojtek Figat
082768d08c Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT 2024-02-07 23:39:02 +01:00
NoriteSC
64e3db3a98 Update Array.h added IsValidIndex 2024-01-13 17:35:16 +01:00
Mateusz Karbowiak
f3497a2a55 Fix swapping core collections 2023-12-08 20:50:52 +01:00
Wojtek Figat
f654d507e5 Add Where, Select and RemoveAll to ArrayExtensions 2023-12-03 14:09:58 +01:00
Wojtek Figat
c8dd2c045c Simplify sorting arrays code 2023-12-01 13:57:34 +01:00
Wojtek Figat
4f8aff4352 Refactor memory allocators to use dedicated path when moving collection data that is not blittable
#2001 #1920
2023-11-28 16:02:36 +01:00
Wojtek Figat
bcaa42dda2 Fix crash on negative collection capacity due to int32 maximum value limit
#1886
2023-11-08 15:07:20 +01:00
Wojtek Figat
47ca4228dd Fix compile warning 2023-11-06 20:50:52 +01:00
Wojtek Figat
51c0a6e100 Fix crash regression on Dictionary and HashSet capacity set to 0 when it contains elements 2023-11-06 14:32:04 +01:00
Wojtek Figat
3bf7b57dbd Fix BitArray::SetAll() when the item is not multiple of 8
#1863
2023-11-04 19:14:45 +01:00
Wojtek Figat
6f1ee382b5 Fix regression from 087cfd7a8c on hashset item duplicate re-add 2023-11-03 19:07:16 +01:00
Wojtek Figat
087cfd7a8c Refactor HashSet and Dictionary collections capacity to handle rehashing when too many elements were deleted 2023-11-02 19:59:01 +01:00
Wojtek Figat
f434ff2efe Fix memory overcommitment by HashSet when adding and removing the same item in a loop
#1829
2023-10-29 13:37:05 +01:00
Wojtek Figat
8b096a9286 Fixes 2023-10-18 10:52:36 +02:00
Wojtek Figat
2d0eabc8be Fix deadlock in Foliage::GetFoliageTypeInstancesCount
#1724
2023-10-17 23:20:30 +02:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
b8f094e007 Cleanup Iterator in ChunkedArray 2023-10-08 11:09:12 +02:00
bc658bbfba Fix Dictionary iterator comparison
Missing change from 9291295a4d
2023-10-07 14:25:07 +03:00
Wojtek Figat
e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
Wojtek Figat
8bafdb0b78 Remove std::function usage from ArrayExtensions 2023-10-02 12:52:44 +02:00
Wojtek Figat
b960600102 Optimize scenes loading with Job System 2023-10-01 10:55:01 +02:00
Wojtek Figat
53deeff116 Missing change from 9291295a4d 2023-09-10 11:33:08 +02:00
Wojtek Figat
9291295a4d Fix Dictionary and HashSet iterators to prevent unwanted data copies
#1361
2023-09-10 11:25:36 +02:00
d3b96742e7 Fix compile-time error in HashSet::ClearDelete 2023-06-28 14:42:27 +03:00
Wojtek Figat
d5fcdf6edb Fix BitArray::Set to not be const 2023-05-20 11:11:06 +02:00
Wojciech Figat
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
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
cfcf29a62e Fixes for passing new unit tests with edge cases of scripting bindigns usage 2023-01-08 00:34:33 +01:00
Wojtek Figat
84f2e652e4 Fix comparison operator on Array and BitArray 2022-12-20 21:11:40 +01:00
Wojtek Figat
8e52e2fb10 Merge branch 'master' into 1.5 2022-11-27 12:11:50 +01:00
Wojtek Figat
b1618a88be Fix invalid rounding up to power of two in allocators
#833
2022-11-25 22:07:13 +01:00
Wojtek Figat
a2670dc3b5 Refactor ConcurrentArray into RenderListBuffer for specialized usage in renderer 2022-11-15 17:43:30 +01:00
Wojtek Figat
b47d95205f Add optional async scene drawing and improve stability 2022-11-11 15:47:33 +01:00
Wojtek Figat
881880fc34 Fixes for ConcurrentArray usage 2022-11-10 23:46:59 +01:00
Wojtek Figat
4ba1531cda Add async scene drawing for Foliage and Terrain 2022-11-10 23:43:36 +01:00
Wojtek Figat
9c7da16c1a Add multi-threaded scene rendering with Job System 2022-11-06 20:44:43 +01:00
Wojciech Figat
01a7ae8bd4 Add NetworkTransform component 2022-10-31 16:31:06 +01:00
Wojciech Figat
8dec405f4f Add iterator copy operator in collections 2022-10-21 15:40:47 +02:00
Wojciech Figat
bf30d7cd29 Add Array/BitArray tests and fix some detected problems 2022-08-19 11:18:48 +02:00
Wojtek Figat
d4d27b88f0 Format engine codebase with ReSharper 2022-06-14 19:05:04 +02:00
Wojciech Figat
551459022d Merge remote-tracking branch 'origin/master' into gi
# Conflicts:
#	Source/Editor/Windows/Assets/VisualScriptWindow.cs
2022-05-02 10:38:14 +02:00
Wojtek Figat
158c29e598 Add **Dictionaries to Visual Scripting** 2022-04-27 22:47:54 +02:00
Wojciech Figat
8ed2bb4179 Fix HashSet::Remove return value if empty 2022-04-21 11:37:50 +02:00
Wojciech Figat
c53a463bb1 Refactor HashSet to support custom allocator 2022-04-19 17:14:29 +02:00
Wojciech Figat
a6c14bd986 Fix Dictionary::Remove return value if empty 2022-04-16 22:49:03 +02:00