Commit Graph

82 Commits

Author SHA1 Message Date
Wojtek Figat
0270772463 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-06 10:02:13 +01:00
Wojtek Figat
c46ea56af2 Rename DepthTestEnable to DepthEnable in Graphics PSO to match actual logic 2023-01-31 14:04:00 +01:00
Wojciech Figat
405ae519dd Refactor generated bindings P/Invoke to support name mangling for symbols 2023-01-23 18:41:12 +01:00
Wojciech Figat
7b20bc38a4 Merge branch '1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
2023-01-17 11:52:52 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
Wojciech Figat
eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01: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
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
Wojciech Figat
c38eda5799 Fixes for compilation 2022-12-14 14:04:14 +01:00
Wojciech Figat
b33ce8d264 Add pooled render targets naming for easier GPU memory usage debugging 2022-12-09 11:26:35 +01:00
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
Wojciech Figat
044e141848 Add Render2D.DrawTexturedTriangles with index buffer 2022-10-25 15:06:52 +02:00
Wojciech Figat
32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
Wojciech Figat
4c280ef015 Fix drawing single character text format 2022-08-04 14:42:52 +02:00
Wojciech Figat
6f18a8a3ff Add font tag 2022-08-03 14:39:00 +02:00
Wojciech Figat
ad37b8361b Add more tags to Rich Text Box 2022-08-03 12:57:22 +02:00
Wojciech Figat
e59de73948 Fix small issues 2022-08-02 16:53:31 +02:00
Wojciech Figat
94060e16b9 Add more utilities for text processing with font and text subrange 2022-08-02 16:52:25 +02:00
Wojtek Figat
fe1cab6a7f Add Default auto-generated member to scripting structures and improve deserialization 2022-08-01 18:49:54 +02:00
Wojtek Figat
7c923198e0 Minor tweaks to #716 2022-06-14 19:56:58 +02:00
b89e3bb0ff Add "View Size" node for GUI materials 2022-06-13 22:25:55 +03:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
3d7d52e779 Fix Vulkan crash when using Blur Panel in Screen Space canvas 2022-05-13 20:17:06 +02:00
Wojtek Figat
75b61f2bef Fix typos 2022-04-15 19:16:14 +02:00
9a0d4ae53b Improve font rendering and alignment with custom DPI 2022-03-27 01:51:20 +02:00
Wojciech Figat
066a4c65bb Add additional UploadMipMapAsync for GPUTexture update with custom row/slice pitch 2022-02-08 19:55:59 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
Wojtek Figat
7ed3c61b53 Tweaks 2021-09-01 16:04:10 +02:00
Jean-Baptiste Perrier
ad0c39e4ac Typo 2021-09-01 08:58:15 +02:00
Jean-Baptiste Perrier
19ee939c5d Add Render2D::DrawTexturedTriangles variations 2021-09-01 06:57:41 +02:00
Wojtek Figat
f5e5686853 Optimize includes in ThreadLocal.h 2021-07-08 00:34:49 +02:00
Wojtek Figat
72599b18ce Fix crash with too big blur strength used in Render2D
#558
2021-06-30 11:56:42 +02:00
Wojtek Figat
94f50ce8cb Cleanup some headers in Graphics module 2021-06-18 16:38:44 +02:00
Wojtek Figat
f5a6a18232 Fix stability on exit or when doing heavy resources streaming stress tests 2021-06-18 15:20:39 +02:00
Wojtek Figat
a75e403b35 Fixes 2021-06-15 13:51:16 +02:00
Wojtek Figat
f237d5d87d Post merge fixes to font reference as class
#420
2021-06-09 12:16:50 +02:00
Wojtek Figat
3c2b1a232c Merge commit '4bb703e9bfadf44c562f69bab069fd8be26eda97' 2021-06-09 12:04:12 +02:00
Wojtek Figat
79b03f6b5c Fix cached font usage to use proper unmanaged object validation check (not only managed object ref)
#546
2021-06-09 11:11:32 +02:00
Wojtek Figat
44433bf3b4 Add 9-slicking support for UI to draw sprites and textures
#155
2021-05-29 13:48:00 +02:00
Wojtek Figat
1a4277994b Fix crash on Font invalidate 2021-05-22 22:34:35 +02:00
GoaLitiuM
4bb703e9bf Change FontReference to reference type
FontReference is mutating itself by storing the cached font for later
reuse, but this is not working as intended because FontReference is
returned as a value type in UIControls so the cached font is actually
stored in a copy of the FontReference and not in the original property.
2021-05-18 18:29:09 +03:00
Wojtek Figat
9a617c630b Fix api error 2021-05-16 18:54:40 +02:00
Wojtek Figat
dbb42e9805 Fix minor warnings in shaders 2021-05-15 14:19:40 +02:00
Wojtek Figat
42461f1b4a Fix crash when drawing 2d sprite with invalid atlas specified 2021-05-14 11:02:42 +02:00
Wojtek Figat
b2ecceab44 Fix text processing with wrapping enabled if layout bounds width equals the line width
#518
2021-05-13 15:00:40 +02:00
Wojtek Figat
480947e0a9 Fix sprite atlas serialization after editing 2021-05-12 16:19:59 +02:00
Wojtek Figat
36d06ccaa3 Fix crash when reimporting sprite atlas
#494
2021-05-12 13:58:23 +02:00