Commit Graph

49 Commits

Author SHA1 Message Date
mafiesto4 470b12bfd3 Post merge 2026-08-04 20:11:42 +02:00
mafiesto4 ddb29955e5 Merge branch 'dev/FixBackbufferSwapchain' of https://github.com/ifromstone/FlaxEngine into ifromstone-dev/FixBackbufferSwapchain
# Conflicts:
#	Source/Engine/GraphicsDevice/Vulkan/GPUSwapChainVulkan.cpp
2026-08-04 20:08:23 +02:00
Andrei Gagua 0c354b85f3 Fix Vulkan swapchain wait for acquired backbuffer
Move backbuffer submit waiting until after swapchain image acquire, and track the submitted fence counter per backbuffer to avoid waiting on stale command buffer objects. This preserves multi-buffered presentation and fixes iOS/MoltenVK frame pacing drops caused by waiting on the wrong swapchain image.
2026-06-06 22:08:43 +03:00
Andrei Gagua a5bebce529 Fix: Vulkan - preserve valid swapchain surfaces during resize
Avoid recreating VkSurfaceKHR during normal Vulkan swapchain resize/out-of-date handling. Recreate the surface only when Vulkan reports surface loss or when the native window handle used to create the surface changes.
2026-05-29 23:54:52 +03:00
mafiesto4 dcccc4687d Fix swapchain creation on the latest iOS to run on UI thread 2026-05-11 22:27:21 +02:00
mafiesto4 3f55833939 Fix crash on Vulkan when vkGetPhysicalDeviceSurfaceFormatsKHR returns VK_INCOMPLETE 2026-04-14 16:38:03 +02:00
mafiesto4 ee22b9dc25 Merge branch 'sdl_platform' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-sdl_platform
# Conflicts:
#	Source/Editor/GUI/Dialogs/ColorPickerDialog.cs
#	Source/Editor/Modules/UIModule.cs
2026-02-11 14:08:57 +01:00
mafiesto4 43b337e163 Fix Vulkan synchronization between CPU and GPU to prevent running over frames in flight 2026-01-28 20:43:01 +01:00
mafiesto4 45306ca20e Minor Vulkan fixes 2026-01-28 20:35:42 +01:00
Ari Vuollet 1d8f221f1b Merge remote-tracking branch 'origin/1.11' into sdl_platform_1.11
# Conflicts:
#	Source/Engine/Platform/Windows/WindowsPlatform.cpp
#	Source/Tools/Flax.Build/Build/ProjectTarget.cs
#	Source/Tools/Flax.Build/Configuration.cs
2025-09-07 19:31:16 +03:00
mafiesto4 5e4d564338 Add **GPU profiling support to Tracy integration** 2025-07-30 19:08:45 +02:00
mafiesto4 e9835766bc Add red color to Tracy profiler zones that cause CPU waiting to improve profiling 2025-06-11 14:56:43 +02:00
mafiesto4 c639a3103c Add memory profiling events to the main areas of the engine 2025-05-22 04:47:01 +02:00
Ari Vuollet 86125bb625 Add support for VK_EXT_metal_surface extension 2025-04-21 23:13:23 +03:00
Ari Vuollet 7eb7236b8a Fix occluded or hidden windows causing the engine to freeze on Wayland 2025-04-19 21:14:11 +03:00
Ari Vuollet 275a08506b Enable transparency support in Vulkan swapchains
(cherry picked from commit 431a69e35775b1664e146283934e1ce6147f8fc3)
2025-04-19 21:13:55 +03:00
GoaLitiuM b622a1cc5e Implement SDL platform, windowing and input handling 2025-04-19 21:13:32 +03:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 83e8f8cb94 Increase backbuffers support for Vulkan on Linux to 8 2024-03-12 12:39:01 +01:00
mafiesto4 b4d3eeb771 Another attempt for Vulkan swapchain setup if minImageCount is larger than VULKAN_BACK_BUFFERS_COUNT 2024-03-12 12:11:03 +01:00
mafiesto4 9d0b659520 Use default backbuffers for Vulkan if maxImageCount is 0 2024-03-11 23:56:02 +01:00
mafiesto4 fef2e09915 Another fix attemp for vulkan driver on Linux 2024-03-08 13:12:55 +01:00
mafiesto4 816fb9da6f Fix crash on Vulkan Swapchain init if GPU driver reports different image count 2024-03-07 20:41:53 +01:00
mafiesto4 14902dc29e Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-02-26 19:49:39 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 7fd6c43f84 Add more profier events to Vulkan backed 2024-01-30 18:45:34 +01:00
mafiesto4 320024399d Add support for overriding some defaults for GPU per-platform 2024-01-30 15:43:39 +01:00
mafiesto4 32d9067710 Fix build 2023-07-19 09:08:17 +02:00
mafiesto4 c46f78885e Refactor iOS deployment to use XCode project 2023-06-01 00:46:39 +02:00
mafiesto4 b0966c9114 Add logging PixelFormat as string instead of integer value for better readability 2023-04-13 10:31:40 +02:00
mafiesto4 f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +01:00
mafiesto4 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
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
mafiesto4 3abbafa530 Fixes for Vulkan 2022-09-06 22:54:00 +02:00
mafiesto4 f221bc6361 Minor improvements 2022-07-07 15:34:15 +02:00
mafiesto4 e52cf67447 Fix crash on Vulkan swapchain resize if the previous size was 0 (eg. due to window animation on Windows 11r) 2022-03-02 10:00:06 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 2ca070ea3a Use recommended 3 backbuffers on MoltenVK on Mac 2022-01-09 20:12:52 +01:00
mafiesto4 eb04fc39ea Optimizations for Vulkan device 2021-10-25 23:31:23 +02:00
mafiesto4 e1d9fbb742 Fix some engine API to be exposed for C++ scripting 2021-09-21 18:23:31 +02:00
mafiesto4 2050429d6c Fixes for Vulkan Swapchain on some platforms 2021-07-26 13:39:27 +02:00
mafiesto4 dc63d908b8 Fix resizing and maximizing window on Linux 2021-02-09 19:54:46 +01:00
mafiesto4 b30ab38ef2 Window impl on Linux progress 2021-02-08 22:53:32 +01:00
jb-perrier 03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
mafiesto4 05790ab9a1 Fix code style 2020-12-30 22:56:17 +01:00
mafiesto4 4c205be617 Fix code style 2020-12-30 11:20:37 +01:00
mafiesto4 5e239f5d87 Fix code style
(cherry picked from commit 16cd75d179)
2020-12-22 12:59:27 +01:00
mafiesto4 6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00