Commit Graph

2600 Commits

Author SHA1 Message Date
mafiesto4 c53bf2b7e3 Fix crash when catching exception in managed code but native code ignores it in dotnet7 2022-12-27 13:50:38 +01:00
mafiesto4 219ad40088 Fix exception when using null version object for marshalling into native data 2022-12-27 13:50:11 +01:00
mafiesto4 d9042b3db2 Fix building various plugin projects with new dotnet7 2022-12-27 13:49:47 +01:00
mafiesto4 d8805dc801 Tweaks 2022-12-24 15:24:51 +01:00
GoaLitiuM 759a9bd365 Fix native library resolver not working after hot-reload 2022-12-24 03:13:40 +02:00
GoaLitiuM 2c0e9faa32 Remove throwing exceptions from invoked methods with debugger
The same effect can be achieved by enabling all CLR exceptions in VS debugger settings, and it also supports continuation after catching exceptions.
2022-12-23 22:36:19 +02:00
GoaLitiuM 80c3056daf Fix errors when compiling plugins 2022-12-23 22:33:22 +02:00
mafiesto4 61bd491969 Fix selection outline when nothing is selected 2022-12-23 11:37:11 +01:00
GoaLitiuM 2e502ce82a Cache managed type MonoTypeEnum values 2022-12-22 20:17:06 +02:00
GoaLitiuM 3c79be2910 Cleanup 2022-12-22 20:16:02 +02:00
GoaLitiuM e03a819176 Replace usage of Utils.ExtractArrayFromList with Span 2022-12-22 19:54:59 +02:00
GoaLitiuM 6a41ab0b6d Fix unnecessary allocations when creating managed arrays 2022-12-22 19:54:58 +02:00
GoaLitiuM 22b4e25c02 Improve array allocations when marshalling method parameters 2022-12-22 19:54:58 +02:00
GoaLitiuM e71e6835de Optimize allocations in return values from invoked managed methods 2022-12-22 18:13:23 +02:00
GoaLitiuM b449353d2f Fix incorrect field reference for reference types 2022-12-22 18:13:23 +02:00
mafiesto4 94c5211ee6 Rename gchandle to MGCHandle 2022-12-22 13:02:00 +01:00
mafiesto4 04799c89dc Merge branch 'dotnet7' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet7 2022-12-21 12:28:55 +01:00
mafiesto4 9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
GoaLitiuM c8cc899128 Optimize allocations in method parameter marshalling and invocation 2022-12-21 00:40:38 +02:00
GoaLitiuM 55747edaae Cleanup 2022-12-21 00:40:38 +02:00
GoaLitiuM 8c4771a738 Fix SEH exceptions not handled properly when debugger is attached 2022-12-21 00:40:37 +02:00
mafiesto4 f874a0ad57 Update csprojects to the latest NetCore7 2022-12-19 17:39:39 +01:00
GoaLitiuM b9f11298e8 Avoid pre-allocating custom attributes for managed types 2022-12-17 15:39:04 +02:00
GoaLitiuM ff438a6219 Set default culture to InvariantCulture
Fixes issues such as wrong decimal separator in floating point strings when used with parameterless .ToString()
2022-12-17 15:38:52 +02:00
mafiesto4 84a68c5977 Update Newtonsoft.Json to 13.0.2 and .Net 7 2022-12-17 13:38:30 +01:00
mafiesto4 889eb7d846 Revert "Implement JSON difference serialization"
This reverts commit 6bfb0205fd.
2022-12-17 13:06:16 +01:00
mafiesto4 1cf6c5233e Refactor DDGI probes to use variable ray count depending on the probe location relative to the view frustum 2022-12-15 17:33:44 +01:00
mafiesto4 3fcbcacd43 Fix empty draw call submitting 2022-12-15 17:33:14 +01:00
mafiesto4 b9244df8f7 Fix temporal anti-aliasing to provide better quality output 2022-12-15 12:40:21 +01:00
mafiesto4 63e7fb85ec Fix GetNativePtr on Vulkan 2022-12-14 16:16:43 +01:00
mafiesto4 79f4dfcaab Add GetNativePtr to GPUAdapter 2022-12-14 16:16:25 +01:00
mafiesto4 713aa3e0f9 Add SetResourceState and ForceRebindDescriptors to GPUContext for integration with external rendering libraries 2022-12-14 16:16:02 +01:00
mafiesto4 c38eda5799 Fixes for compilation 2022-12-14 14:04:14 +01:00
mafiesto4 188428a7a9 Add RenderSetup and allow customizing it by gameplay and postfx 2022-12-14 14:03:59 +01:00
mafiesto4 c17477abff Add RenderingUpscaleLocation for customizing upscaler location in render pipeline 2022-12-13 11:52:52 +01:00
mafiesto4 ee019510ca Remove old RT1_FloatRGB and RT2_FloatRGB in favor pooled render targets 2022-12-13 11:52:51 +01:00
mafiesto4 48b88af88a Fix deadlock in GPUDevice caused by f2c594569d 2022-12-12 20:16:11 +01:00
mafiesto4 d4601ecb44 Add memory usage query for various asset types 2022-12-09 15:48:43 +01:00
mafiesto4 ed700cb070 Add **Assets profiler** to Editor 2022-12-09 15:46:01 +01:00
mafiesto4 a809a69ca0 Fixes for GPU resources C# object types 2022-12-09 11:28:39 +01:00
mafiesto4 202de3499f Rename property GetElementsCount to ElementsCount in C# GPUBufferDescription 2022-12-09 11:28:17 +01:00
mafiesto4 7f0c73606c Improve naming various GPU resources 2022-12-09 11:27:41 +01:00
mafiesto4 b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
mafiesto4 df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
mafiesto4 f2c594569d Remove GPUResourcesCollection and use GPUDevice instead to simplify code 2022-12-07 15:32:23 +01:00
mafiesto4 3017010ef4 Minor adjustments to the profiling tools code 2022-12-07 15:27:40 +01:00
mafiesto4 f918fa2a32 Merge remote-tracking branch 'origin/master' into 1.5 2022-12-05 09:24:15 +01:00
mafiesto4 5a50656249 Fix 2022-12-04 18:23:40 +01:00
GoaLitiuM 7eae439624 Fix RunProcess not working in development builds
Works around a possible compiler bug caused by db6aab1cf6
2022-12-04 18:09:07 +02:00
mafiesto4 2b6e3cf993 Fix lod preview typo in df45ac46b1 2022-12-03 13:10:47 +01:00