diff options
| author | Ribbit <ribbit@eden-emu.dev> | 2025-10-08 04:01:24 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-10-08 04:01:24 +0200 |
| commit | db65f107689f853141fd2cf4cb7b6b55b24aff3e (patch) | |
| tree | 9c142e5361fdff65ce329d97714f3bd879c435fa /src/qt_common/shared_translation.cpp | |
| parent | acd7d792a34a809cf4e7f9270b3cee605fb6c35e (diff) | |
[vk] Unify RAII in Vulkan (#2679)
This PR consolidates Vulkan RAII on video_core/vulkan_common/vulkan_wrapper.h’s vk::Handle and remove the unused duplicate src/video_core/vulkan_common/vulkan_raii.h, reducing confusion and maintenance. Swapchain now uses RAII‑managed per‑image semaphores and clears them in Destroy(), providing correct present synchronization and automatic cleanup. Expected result: simpler lifetimes, fewer leak risks, and more stable presentation with negligible overhead.
Co-authored-by: Ribbit <ribbit@placeholder.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2679
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: Ribbit <ribbit@eden-emu.dev>
Co-committed-by: Ribbit <ribbit@eden-emu.dev>
Diffstat (limited to 'src/qt_common/shared_translation.cpp')
| -rw-r--r-- | src/qt_common/shared_translation.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/qt_common/shared_translation.cpp b/src/qt_common/shared_translation.cpp index f926f506e7..0b40ca9904 100644 --- a/src/qt_common/shared_translation.cpp +++ b/src/qt_common/shared_translation.cpp @@ -321,12 +321,6 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* parent) // Renderer (Extensions) INSERT(Settings, - enable_raii, - tr("RAII"), - tr("A method of automatic resource management in Vulkan " - "that ensures proper release of resources " - "when they are no longer needed, but may cause crashes in bundled games.")); - INSERT(Settings, dyna_state, tr("Extended Dynamic State"), tr("Controls the number of features that can be used in Extended Dynamic State.\nHigher numbers allow for more features and can increase performance, but may cause issues.\nThe default value is per-system.")); @@ -721,3 +715,4 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QObject* parent) return translations; } } // namespace ConfigurationShared + |
