aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_graphics_advanced.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [meta] clang-format literally all of the Qt code (#3706)crueter2026-03-101-2/+2
| | | | | | | | I'm tired of dealing with this tbh Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3706 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [desktop, settings] new RendererHacks category, move to Extensions -> ↵crueter2025-12-311-17/+1
| | | | | | | | | | | | | Extras, fix GPU accuracy naming (#3245) added a new RendererHacks category, moved them to the Extensions tab and renamed that tab Extras. Should fit in smaller screens now also Performance -> Fast, GPU Accuracy -> GPU Mode Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3245 Reviewed-by: MaranBr <maranbr@eden-emu.dev>
* [settings, frontend] Reorganize graphics/CPU settings, saner defaults (#3233)crueter2025-12-301-5/+26
| | | | | | | | | | | | | | - Fast GPU now defaults to 256, removed 128 since it's useless. - Completely reorganized graphics and CPU settings on both platforms. Also got rid of Eden's Veil - Merged some "use ..." settings that weren't really necessary. - Changed ExtendedDynamicState to be a combo box Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3233 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [qt_common] reorg + checkstate abstraction (#2735)crueter2025-10-151-1/+1
| | | | | | | | no diff. in functionality, just confirm builds on ubuntu 24.04/debian 12 Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2735
* [qt] refactor: qt_common lib (#94)crueter2025-09-151-1/+4
| | | | | | | | | | | | | | | | | This is part of a series of PRs made in preparation for the QML rewrite. this PR specifically moves a bunch of utility functions from main.cpp into qt_common, with the biggest benefit being that QML can reuse the exact same code through ctx passthrough. Also, QtCommon::Frontend is an abstraction layer over several previously Widgets-specific stuff like QMessageBox that gets used everywhere. The idea is that once QML is implemented, these functions can have a Quick version implemented for systems that don't work well with Widgets (sun) or for those on Plasma 6+ (reduces memory usage w/o Widgets linkage) although Quick from C++ is actually anal, but whatever. Other than that this should also just kinda reduce the size of main.cpp which is a 6000-line behemoth rn, and clangd straight up gives up with it for me (likely caused by the massive amount of headers, which this DOES reduce). In the future, I probably want to create a common strings lookup table that both Qt and QML can reference--though I'm not sure how much linguist likes that--which should give us a way to keep language consistent (use frozen-map). TODO: Docs for Qt stuff Co-authored-by: MaranBr <maranbr@outlook.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/94 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
* qt/configuration: Use deleteLaterlat9nq2023-07-211-1/+1
|
* common,qt-config: Remove usage of forward_listlat9nq2023-07-211-2/+2
|
* configuration: Use a builder to create widgetslat9nq2023-07-211-11/+10
| | | | | This gets rid of some repeated code and sets us up to send more information to the new widget.
* common,yuzu-qt: GCC warning silenceslat9nq2023-07-211-2/+2
| | | | Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
* FIXME configuration: Avoid unnecessary allocationslat9nq2023-07-211-0/+4
| | | | | ConfigurationShared::Widget needs to be created with a builder. This would avoid some duplicated code.
* configuration: Document odd widget caseslat9nq2023-07-211-0/+1
| | | | | Explain why we need to do things differently at times, to serve as a reference.
* configuration: Use IDs to sort holdslat9nq2023-07-211-7/+3
|
* configuration: Clean up includes a bitlat9nq2023-07-211-0/+1
|
* configuration: Use a mapping of setting value to namelat9nq2023-07-211-4/+5
| | | | | Makes comboboxes always correspond to the value of the setting they're modifying.
* configuration: Move CreateWidget to a classlat9nq2023-07-211-3/+5
| | | | | We were passing so many objects between the function and the caller that it needed to be redesigned.
* configuration: Implement sliderlat9nq2023-07-211-1/+1
|
* configuration: Use buttons instead of highlightslat9nq2023-07-211-1/+1
| | | | Only for updated configs at the moment
* shared_translation: Finish using int idslat9nq2023-07-211-1/+1
|
* configure_graphics: Partial runtime implementationlat9nq2023-07-211-2/+2
|
* settings: Recategorize a bitlat9nq2023-07-211-1/+1
| | | | Will help with generating config UI later.
* configure_graphics_advance: Generate UI at runtimelat9nq2023-07-211-136/+36
| | | | | | | We can iterate through the AdvancedGraphics settings and generate the UI during runtime. This doesn't help runtime efficiency, but it helps a ton in reducing the amount of work a developer needs in order to add a new setting.
* configuration: Add base class to tabslat9nq2023-07-211-2/+4
| | | | | Tabs that largely configure SwitchableSetting's are now Tabs and grouped together.
* settings,video_core: Consolidate ASTC decoding optionslat9nq2023-07-211-7/+0
| | | | Just puts them all neatly into one place.
* video_core: optionally skip barriers on feedback loopsLiam2023-06-141-0/+10
|
* nvnflinger: allow locking framerate during video playbackLiam2023-06-081-0/+8
|
* textures: add BC1 and BC3 compressors and recompression settingLiam2023-05-231-0/+14
|
* Merge pull request #10181 from lat9nq/intel-compute-toggleliamwhite2023-05-151-0/+17
|\ | | | | configure_graphics: Add option to enable compute pipelines for Intel proprietary
| * configure_graphics_advanced: Hide input compute toggle a little laterlat9nq2023-05-081-2/+2
| | | | | | | | | | SetColoredTristate causes the setting to become visible as it calls `show()` on it.
| * yuzu-qt/config: Add option to disable compute on Intellat9nq2023-05-071-0/+17
| | | | | | | | | | | | | | | | | | | | This option is only visible if an Intel GPU using the proprietary driver is found during Vulkan device enumeration. configure_graphics: More directly get driver id Vulkan::Device does quite a bit more than we need just to see the driver ID here.
* | Settings: add option to enable / disable reactive flushingFernando Sahmkow2023-05-071-0/+7
|/
* Merge pull request #10125 from lat9nq/vsync-selectbunnei2023-05-061-5/+0
|\ | | | | configuration: Expose separate swap present modes
| * configuration: Expose separate swap present modeslat9nq2023-05-021-5/+0
| | | | | | | | | | | | | | | | Previously, yuzu would try and guess which vsync mode to use given different scenarios, but apparently we didn't always get it right. This exposes the separate modes in a drop-down the user can select. If a mode isn't available in Vulkan, it defaults to FIFO.
* | settings: remove pessimistic flushingLiam2023-05-031-8/+0
|/
* vk_present_manager: Add toggle for async presentationGPUCode2023-05-011-0/+7
|
* Merge pull request #9849 from ameerj/async-astcliamwhite2023-02-261-0/+7
|\ | | | | texture_cache: Add asynchronous ASTC texture decoding
| * configuration: Add async ASTC decode settingameerj2023-02-221-0/+7
| |
* | config: Fix per game Force max clockgerman772023-02-251-2/+0
|/
* qt: fix configuration weirdness on turboLiam2023-01-091-2/+3
|
* Merge pull request #9552 from liamwhite/turboliamwhite2023-01-061-0/+11
|\ | | | | vulkan: implement 'turbo mode' clock booster
| * common: add setting for renderer clock workaroundLiam2023-01-041-0/+11
| |
* | config: Set the Vulkan driver pipeline cache option to be globalWollnashorn2023-01-051-0/+3
| |
* | video_core/vulkan: Added `VkPipelineCache` to store Vulkan pipelinesWollnashorn2023-01-051-0/+7
|/ | | | | | As an optional feature which can be enabled in the advanced graphics configuration, all pipelines that get built at the initial shader loading are stored in a VkPipelineCache object and are dumped to the disk. These vendor specific pipeline cache files are located at `/shader/GAME_ID/vulkan_pipelines.bin`. This feature was mainly added because of an issue with the AMD driver (see yuzu-emu#8507) causing invalidation of the cache files the driver builds automatically.
* video_core: add option for pessimistic flushingLiam2022-08-251-0/+8
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* configuration: Use std::make_unique instead of operator new for uiMorph2021-10-151-1/+1
|
* configuration: Add const qualifier where ablelat9nq2021-10-071-1/+1
|
* yuzu qt: Remove global system instances from config, WaitTree, mainlat9nq2021-10-071-3/+3
|
* Garbage Collection: enable as default, eliminate option.Fernando Sahmkow2021-08-281-6/+0
|
* Merge branch 'master' into fullscreen-enumlat9nq2021-07-251-7/+0
|\
| * general: Add setting shader_backendlat9nq2021-07-221-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLASM is getting good enough that we can move it out of advanced graphics settings. This removes the setting `use_assembly_shaders`, opting for a enum class `shader_backend`. This comes with the benefits that it is extensible for additional shader backends besides GLSL and GLASM, and this will work better with a QComboBox. Qt removes the related assembly shader setting from the Advanced Graphics section and places it as a new QComboBox in the API Settings group. This will replace the Vulkan device selector when OpenGL is selected. Additionally, mark all of the custom anisotropic filtering settings as "WILL BREAK THINGS", as that is the case with a select few games.