lat9nq
cce6c6919c
common,qt-config: Remove usage of forward_list
2023-07-21 23:09:09 -04:00
lat9nq
61239d5b12
configuration: Use enum index
2023-07-21 10:56:55 -04:00
lat9nq
245c490e02
settings,configuration: Add a default suffix
2023-07-21 10:56:55 -04:00
lat9nq
da00b5ab3c
configuration: Use specialization of settings
...
Reduces some ugliness in frontend code.
2023-07-21 10:56:55 -04:00
lat9nq
e45389c266
configuration: Use a builder to create widgets
...
This gets rid of some repeated code and sets us up to send more
information to the new widget.
2023-07-21 10:56:55 -04:00
lat9nq
0a5e03b492
configuration: Move speed_limit to core
2023-07-21 10:56:55 -04:00
lat9nq
859dff4c27
common,yuzu-qt: GCC warning silences
...
Fixes -Wshadow, -Wdeprecated, and catch by copy rather than by ref.
2023-07-21 10:56:55 -04:00
lat9nq
92941df1f6
configure_graphics: Simplify UpdateAPILayout
...
Reduces branching/swictch cases for simplicity/code size
2023-07-21 10:56:54 -04:00
lat9nq
aebab92dac
configure_graphcs: Fix setting shader/device in custom config
2023-07-21 10:56:54 -04:00
lat9nq
d1757cc55e
configuration: Use shorter constructor as needed
...
Reduces some confusion hopefully, since some parameters specified were not
specific to the setting in question.
2023-07-21 10:56:54 -04:00
lat9nq
05e54c094f
configure_graphics: Fix vulkan_device bug
2023-07-21 10:56:54 -04:00
lat9nq
9be2b39509
FIXME configuration: Avoid unnecessary allocations
...
ConfigurationShared::Widget needs to be created with a builder. This
would avoid some duplicated code.
2023-07-21 10:56:54 -04:00
lat9nq
9d6de208a1
general: Add typeinfo where needed
...
Using typeid without including typeinfo first produces an ill-formed program.
2023-07-21 10:56:54 -04:00
lat9nq
cb4cdcbaeb
configuration: Document odd widget cases
...
Explain why we need to do things differently at times, to serve as a
reference.
2023-07-21 10:56:54 -04:00
lat9nq
78f92086ca
settings,general: Rename non-confirming enums
2023-07-21 10:56:54 -04:00
lat9nq
d35281ddf3
configuration: Use IDs to sort holds
2023-07-21 10:56:07 -04:00
lat9nq
b212eb4d6f
configuration: Use a mapping of setting value to name
...
Makes comboboxes always correspond to the value of the setting they're
modifying.
2023-07-21 10:56:07 -04:00
lat9nq
d39bfc646f
configure_audio: Implement ui generation
...
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
configure_audio: Implement ui generation
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
settings: Make audio settings as enums
2023-07-21 10:56:07 -04:00
lat9nq
3b0da07854
shared_widget: Refactor helpers
...
Makes checkbox creation an option as opposed to a label.
2023-07-21 10:56:07 -04:00
lat9nq
689efc9175
configure_system: Implement with for loop
2023-07-21 10:56:07 -04:00
lat9nq
05f745721e
shared_widget: Internalize extra setting configuration
2023-07-21 10:56:07 -04:00
lat9nq
318918c606
graphics: Set speed limit to spinbox
2023-07-21 10:56:07 -04:00
lat9nq
de25cd8462
shared_widget: Support checkbox + spinbox
2023-07-21 10:56:07 -04:00
lat9nq
8df7fbe91b
configure_graphics: Reimplement bg_color
...
To specialized a setting to be worth adding to the shared_widget imo,
so add it roughly like before.
2023-07-21 10:56:07 -04:00
lat9nq
5d84eebd84
configure_graphics: Remove redundant log
2023-07-21 10:56:07 -04:00
lat9nq
b17ab4d1d5
configuration: Move CreateWidget to a class
...
We were passing so many objects between the function and the caller that
it needed to be redesigned.
2023-07-21 10:56:07 -04:00
lat9nq
f9310ec1e8
configuration: Implement slider
2023-07-21 10:56:07 -04:00
lat9nq
e40f887355
configuration: Use buttons instead of highlights
...
Only for updated configs at the moment
2023-07-21 10:56:07 -04:00
lat9nq
bb015feefd
configure_graphics: More complete reimplementation
2023-07-21 10:56:07 -04:00
lat9nq
eae5e1f6f3
shared_translation: Finish using int ids
2023-07-21 10:56:07 -04:00
lat9nq
d7ffd33ca0
configure_graphics: Partial runtime implementation
2023-07-21 10:56:07 -04:00
lat9nq
b527f47bd6
configuration: Add base class to tabs
...
Tabs that largely configure SwitchableSetting's are now Tabs and grouped
together.
2023-07-21 10:56:07 -04:00
lat9nq
fc30b04714
settings,video_core: Consolidate ASTC decoding options
...
Just puts them all neatly into one place.
2023-07-21 10:56:07 -04:00
lat9nq
eb2c848912
vk_device_info: Check only affected Intel drivers
...
Renames is_intel_proprietary to has_broken_compute for accuracy.
vk_device_info: Use vulkan::device to check compute
2023-06-18 16:15:51 -04:00
lat9nq
3263f49390
yuzu-qt: Load Vulkan device info at startup
...
Loading it when the configuration opens now incurs a noticeable delay.
We also don't need to rediscover the same data repeatedly each time the
configuration opens.
Moves vulkan device info discovery to yuzu's startup as opposed to the
configure_graphics constructor.
2023-06-06 01:54:44 -04:00
bunnei
74e76421e6
android: native: Add support for custom Vulkan driver loading.
2023-06-03 00:05:31 -07:00
lat9nq
409c6af0e4
yuzu-qt/config: Add option to disable compute on Intel
...
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.
2023-05-07 01:06:22 -04:00
lat9nq
fa8da0ded9
qt_common: Remove yuzu prefix
2023-05-03 18:11:53 -04:00
lat9nq
047ee6733f
configure_graphics: No there isn't a hyphen in VSync
...
Most sources seem to suggest VSync and not V-Sync
2023-05-02 21:52:43 -04:00
lat9nq
e382ab8058
configure_graphics: Clean up includes [IWYU]
2023-05-02 21:52:43 -04:00
lat9nq
40108e515b
configure_graphics: Actively find present modes
...
When Vulkan devices are enumerated, this also determines the available
present modes for each device, maps them to a vector, and gives
those options to the user.
OpenGL options are limited to On/Off.
Required creating a VkSurfaceKHR during device enumeration, which
may or may not be desireable. For the sake of a less confusing UI.
Also fixes a bug where if a graphics device disappears on the host, we
don't try and select the non-existant devices.
configure_graphics: Remove vsync runtime lock for Vulkan
configure_graphics: Recommend Mailbox present mode
configure_graphics: Fix type-limits warning
configure_graphics: Clean up includes
configure_graphics: Add tooltip
2023-05-02 21:52:43 -04:00
lat9nq
581d8f34ee
configuration: Expose separate swap present modes
...
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.
2023-05-02 21:51:29 -04:00
Lioncash
1ad43e68da
configure_graphics: Make SPIRV backend string translatable
...
The parenthetical needs to be translatable, like with GLASM
2022-12-06 00:13:07 -05:00
bunnei
d3e229ee9d
Merge pull request #9344 from liamwhite/null
...
video_core: add null backend
2022-12-03 11:23:25 -08:00
Matías Locatti
39df80ff00
Merge pull request #9303 from liamwhite/new-vulkan-init
...
Vulkan: update initialization
2022-12-02 18:32:54 -03:00
Liam
acc4a150ef
video_core: add null backend
2022-11-28 19:49:09 -05:00
Liam
0a077cb467
Vulkan: update initialization
...
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
2022-11-27 14:58:28 -05:00
lat9nq
cedec65403
configure_graphics: Implement custom FSR Sharpening setting
2022-11-25 22:42:54 -05:00
Matías Locatti
8e19421f84
FSR Sharpening Slider part 1 - only a global slider
2022-11-24 04:22:13 -05:00
Morph
5254f0499b
configure_graphics: Fix graphics API selection when a game is running
...
The graphics API setting should not be changed when a game is running.
2022-10-07 15:11:26 -04:00