39 Commits

Author SHA1 Message Date
mafiesto4 f12ad5c874 Add **Web platform with Emscripten** 2026-02-14 00:07:21 +01:00
mafiesto4 3a798a70fa Fix collections capacity growing to use the closest power of two
Capacity was incorrectly 2x larger than needed.
Added unit test to ensure it stays correct.
2025-12-04 23:29:15 +01:00
Ari Vuollet 91c0ba1986 Enforce pointer alignment for InlinedAllocation
AssetReferences stored in inlined allocation needs to be aligned to
pointer sized boundary due to atomic operations having strict
requirements for such. Unaligned access seems to only crash on
Windows on ARM systems when trying to allocate TextRender draw chunks.
2025-10-19 22:14:28 +03:00
mafiesto4 44e70692a2 Fix render memory alignment issues to prevent crashes on Android 2025-09-06 23:36:54 +02:00
mafiesto4 1a88fefd76 Optimize CPU particles drawing to support async 2025-08-05 09:03:47 +02:00
mafiesto4 c0cce748cc Optimize Array::RemoveAtKeepOrder 2025-07-15 00:12:31 +02:00
mafiesto4 c27a9808c4 Fix unwanted code 2025-07-09 10:02:20 +02:00
mafiesto4 bdaf31b54f Optimize Arena Allocator to store page metadata within itself to save on allocs 2025-07-09 00:22:35 +02:00
mafiesto4 3abbf08f1f Optimize foliage rendering with concurrent arena allocator 2025-07-08 22:18:00 +02:00
mafiesto4 a8eb4fc140 Add allocator tag support for Dictionary and HashSet 2025-07-07 23:22:32 +02:00
mafiesto4 0670c0bbd3 Fix compilation warnings 2025-06-05 18:32:36 +02:00
mafiesto4 9dc4dbc6d7 Add more memory profiler categories 2025-05-25 18:38:07 +02:00
mafiesto4 98e59450f1 Add freeing managed assembly memory on reload/unload 2025-05-25 17:39:51 +02:00
mafiesto4 8c62f1120f Optimize dynamic memory allocations for managed runtime interop collections with a new Arena Allocation 2025-05-25 17:39:20 +02:00
mafiesto4 410ec0465c Optimize CSharp scripting runtime to use arena allocator per-assembly 2025-05-25 02:04:16 +02:00
mafiesto4 f9cb4ddae2 Add new Arena Allocator for optimized dynamic memory allocations with a shared lifetime 2025-05-24 05:08:32 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 cf40facefe Add engine fatal error types handling
Add general out-of-memory handling
Add safety memory buffer for crash or out of memory handling
Refactor Globals exit/error state to be in Engine class
2025-01-24 20:07:12 +01:00
mafiesto4 f5280eab74 Refactor and improve collections code
#3043
2025-01-23 14:44:11 +01:00
Mateusz Karbowiak f77f551b72 Collections type aliasing fix
This one is debatable. It follows modern C++.
2024-10-30 22:30:54 +01:00
Mateusz Karbowiak a55866d558 Collections casts fix 2024-10-30 22:18:47 +01:00
Mateusz Karbowiak 02db7d02f2 Collections const-correctness fix 2024-10-30 21:06:16 +01:00
mafiesto4 dd61d5793c Merge branch 'woa_support' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-woa_support
# Conflicts:
#	Source/ThirdParty/assimp/config.h.in
#	Source/Tools/Flax.Build/Deps/Dependencies/Assimp.cs
2024-07-24 19:03:53 +02:00
mafiesto4 b545d8800c Optimize job system memory allocations 2024-06-24 23:19:01 +02:00
GoaLitiuM 40cc967c30 Fix alignment issues in stack allocators 2024-06-01 23:23:33 +03:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 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
mafiesto4 bcaa42dda2 Fix crash on negative collection capacity due to int32 maximum value limit
#1886
2023-11-08 15:07:20 +01:00
Tryibion 093928f2f9 Change name to ReallocAligned 2023-06-28 06:42:54 -05:00
Tryibion 1d8ae580b7 Add Realloc with alignment. 2023-06-24 12:05:51 -05:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 db6aab1cf6 Fix regression in memory allocators 2022-11-28 20:34:26 +01:00
mafiesto4 b1618a88be Fix invalid rounding up to power of two in allocators
#833
2022-11-25 22:07:13 +01:00
mafiesto4 01eb42dd10 Enable assertions in native tests 2022-08-19 11:19:07 +02:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 05f919c50f Optimization and tweaks 2021-05-02 11:25:33 +02:00
mafiesto4 0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02: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