Commit Graph

3728 Commits

Author SHA1 Message Date
Wojtek Figat
50c85aec6d Minor improvements to #1315 and add getter of current window style 2023-08-21 23:33:33 +02:00
Wojtek Figat
b4adb7f3e1 Merge branch 'set-window-mode' of https://github.com/Tryibion/FlaxEngine into Tryibion-set-window-mode 2023-08-21 22:42:13 +02:00
Wojtek Figat
845697cc4a Merge branch 'terraincache' of https://github.com/Withaust/FlaxEngine into Withaust-terraincache 2023-08-21 22:31:01 +02:00
Wojtek Figat
8c230e7cb0 Merge branch 'button-border' of https://github.com/Tryibion/FlaxEngine into Tryibion-button-border 2023-08-21 21:54:56 +02:00
9ec7b09771 Merge fixes 2023-08-20 20:31:45 +03:00
42ab218a8e Merge branch 'master' into marshalling_scriptingobject_changes
# Conflicts:
#	Source/Engine/Engine/NativeInterop.Invoker.cs
#	Source/Engine/Engine/NativeInterop.Unmanaged.cs
2023-08-20 20:24:41 +03:00
Chandler Cox
5354063129 Add simple way to remove button border. 2023-08-19 10:43:04 -05:00
769a20002d Fix Variant move assignment operator with managed objects 2023-08-19 13:12:50 +03:00
Wojtek Figat
122524bd19 Fix linux build 2023-08-18 09:12:10 +02:00
Wojtek Figat
de270d7478 Merge branch 'manageddict_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-manageddict_cache 2023-08-18 00:25:07 +02:00
Wojtek Figat
595bb2b7fa Fix nested animation playrate when the framerate is different
#1258
2023-08-18 00:17:27 +02:00
Wojtek Figat
925b5abb78 Fix crash on Linux when using unmapped keyboard Keyboard
#1321
2023-08-17 21:47:02 +02:00
Wojtek Figat
b78db755ec Fix crash regression d9ee8f4665
#1318
2023-08-17 21:40:36 +02:00
Chandler Cox
8e1cac7d2f Add to be able to choose sloppy mesh simplification or not in model import settings for LODs. 2023-08-15 21:34:07 -05:00
Wiktor Kocielski
a3063258e5 Add ability to clean patch caches 2023-08-15 12:35:32 +03:00
Chandler Cox
6e5f693459 Small change to allow other platforms to use fullscreen and windowed in WindowMode function 2023-08-14 18:25:19 -05:00
Chandler Cox
cfd11a7e77 Add borderless window on Windows platform and add easy function in Screen class to change window mode. 2023-08-14 18:11:05 -05:00
Wojtek Figat
f1d46979b3 Merge branch 'navigationfix' of https://github.com/Withaust/FlaxEngine into Withaust-navigationfix 2023-08-14 18:31:08 +02:00
Wojtek Figat
06d8ff02b3 Merge branch 'foreignobject' of https://github.com/Withaust/FlaxEngine into Withaust-foreignobject 2023-08-14 18:29:10 +02:00
Wojtek Figat
66042845e4 Codestyle fixe 2023-08-14 16:13:55 +02:00
Wojtek Figat
4e81f80495 Merge branch 'replicationfix' of https://github.com/Withaust/FlaxEngine into Withaust-replicationfix 2023-08-14 16:03:27 +02:00
Wojtek Figat
3197479cc0 Merge branch 'object_destroynow_csharp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-object_destroynow_csharp 2023-08-14 15:51:45 +02:00
Wojtek Figat
860dce487f Codestyle fixes 2023-08-14 15:47:24 +02:00
Wojtek Figat
6af6afc6a4 Merge branch 'managedhandlepool_refactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managedhandlepool_refactor 2023-08-14 15:43:57 +02:00
Wojtek Figat
d5245f6a8c Merge branch 'managedarray_pool_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managedarray_pool_cache 2023-08-14 15:39:44 +02:00
Wojtek Figat
342ec4c3c2 Merge branch 'arraytype_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-arraytype_cache 2023-08-14 15:36:27 +02:00
Wojtek Figat
13e0582ef2 Codestyle fixes 2023-08-14 15:36:19 +02:00
Wojtek Figat
238ff38bf2 Merge branch 'invoker_ret_refactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-invoker_ret_refactor 2023-08-14 15:31:50 +02:00
Wojtek Figat
838af2bcbe Merge branch 'unboxvalue_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unboxvalue_fixes 2023-08-14 15:28:24 +02:00
Wojtek Figat
212aba4375 Merge branch 'mclass_method_iter' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-mclass_method_iter 2023-08-14 15:24:47 +02:00
53b1d0dd85 Optimize ScriptingObject managed initialization 2023-08-13 23:56:27 +03:00
cd56101aa3 Expose Object::DeleteObjectNow as Object.DestroyNow in managed scripting 2023-08-13 23:46:38 +03:00
0008123e76 Cache ManagedDictionary types and helper method thunks 2023-08-13 23:15:06 +03:00
d4d404ac0b Optimize native interop marshallers runtime type checking 2023-08-13 22:28:56 +03:00
1b0976d99b Refactor ManagedHandlePool
Weak handles are now stored in one sets of dictionarys synchronized with
other threads. This so far seems the fastest way to manage the
dictionaries for now.
2023-08-13 22:14:37 +03:00
65de284a66 Optimize managed method invokers return value marshalling 2023-08-13 22:10:07 +03:00
d9ee8f4665 Cache pooled ManagedArray managed handles 2023-08-13 21:56:52 +03:00
27e1401fc7 Slightly improve MClass::GetMethod method iteration
Check the number of parameters first before expensive string comparison
2023-08-13 21:54:44 +03:00
1254af8bbb Optimize UnboxValue performance, safety and memory usage
- Avoids unnecessary boxing of the converted values by storing them in
unmanaged memory.
- Wrap ToNative-method in a delegate and cache it
- Fixes returning address to unpinned memory by pinning POD-types for
a short period of time.
2023-08-13 21:53:42 +03:00
44b70d87e5 Cache MakeArrayType results in native interop 2023-08-13 21:42:40 +03:00
Wiktor Kocielski
f44156eb80 Remove another unnecessary exposed CommonValue.h 2023-08-13 09:02:43 +03:00
Wiktor Kocielski
1413da189e NetworkReplicator::ResolveForeignObject 2023-08-13 06:39:35 +03:00
Wiktor Kocielski
b35065ab3f Fix annoying error that happens due to an oversight 2023-08-12 03:58:28 +03:00
Wojtek Figat
7e75b9ad78 Merge branch 'skip_postprocess_pass' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-skip_postprocess_pass 2023-08-10 12:04:52 +02:00
Wojtek Figat
6da1a61726 Merge branch 'load_library_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-load_library_fix 2023-08-10 11:59:17 +02:00
Wojtek Figat
85eb3541eb Merge branch 'alc_reload_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-alc_reload_fix 2023-08-10 11:56:17 +02:00
Menotdan
a1a274df37 Merge branch 'FlaxEngine:master' into material_import 2023-08-09 15:31:44 -04:00
Menotdan
af3d9d0eb3 Re-implement functionality for importing materials as instances. 2023-08-09 15:28:47 -04:00
Menotdan
9156e7727b Merge commit 'refs/pull/1115/head' of https://github.com/FlaxEngine/FlaxEngine into material_import1.6
Repair merge
2023-08-09 15:28:15 -04:00
9d8105e3f3 Separate managed assembly unloading and scripting ALC reinitialization
Fixes an issue with multiple managed assemblies unloading and releasing
all cached data before native resources were fully released in other
assemblies.
2023-08-08 17:39:31 +03:00