Commit Graph

1474 Commits

Author SHA1 Message Date
Henrik Rydgård 2534eb4480 Disable anisotropic filtering for all flat draws.
May improve performance slightly, and should fix the last instances of #19555
2026-06-08 15:28:58 +02:00
jasaaved 95006cf1d3 Changed bFullScreenExclusive to bAllowFullScreenExclusive
There's no guarantee VK_FULL_SCREEN_EXCLUSIVE_ALLOWED_EXT will enter Fullscreen exclusive (FSE). Under the right conditions, the driver and/or DWM can grant FSE. Adding "allow" to the FSE setting should make this a bit clearer.
2026-06-04 12:54:52 -07:00
jasaaved 0147ea0ae8 Grey out "Use all screens" when "Exclusive fullscreen" is on
Exclusive full screens is fundamentally a single monitor concept. It doesn't make sense to have "use all screens" and "Exclusive fullscreen".

The order of the options have been swapped so "Fullscreen" and "Exclusive Fullscreen" are right next to each other.
2026-06-03 17:15:13 -07:00
jasaaved 5e25118043 Fix the exclusive fullscreen config guard and switching the setting on/off
Previously the exclusive fullscreen option in the settings screen was
guarded by a compile-time #ifdef VK_EXT_full_screen_exclusive, which is
always true on Windows. It now uses a runtime fullScreenExclusiveSupported
cap derived from whether the extension is actually enabled by the driver.

Switching between borderless and exclusive fullscreen currently requires a
restart. This is because once DWM has claimed the window (any frames
presented), ALLOWED_EXT cannot re-engage exclusive mode on an existing
swapchain. A new process gets a fresh HWND that DWM has not claimed yet,
so ALLOWED_EXT works correctly at startup.

The proper fix is to use VK_FULL_SCREEN_EXCLUSIVE_APPLICATION_CONTROLLED_EXT
with vkAcquireFullScreenExclusiveModeEXT/vkReleaseFullScreenExclusiveModeEXT
to explicitly negotiate exclusive mode with DWM mid-session without needing
a restart. To be done in a follow-up.
2026-06-03 17:15:13 -07:00
jasaaved b5bd685556 Add VK_EXT_full_screen_exclusive guard
Exclusive fullscreen option is now hidden on platforms without VK_EXT_full_screen_exclusive.
2026-06-03 17:15:13 -07:00
jasaaved 0c23cdaf3d Windows Vulkan: default to borderless fullscreen, add exclusive option
Vulkan swapchain now explicitly sets VK_FULL_SCREEN_EXCLUSIVE_DISALLOWED_EXT by default, enabling proper borderless fullscreen behavior with benefits including better Alt+Tab, VRR/G-Sync/FreeSync, and Auto HDR support.
2026-06-03 17:15:13 -07:00
Henrik Rydgård 33ae88af6d Delete option "Disable range culling". No games are known to require it anymore. 2026-05-31 23:31:06 +02:00
Henrik Rydgård 931c246208 Merge pull request #21755 from Eloren1/load-save-confirm
Add load state confirmation setting
2026-05-31 22:04:19 +02:00
Henrik Rydgård e8e357e360 Implement the "Mix audio with other apps" setting on Android. 2026-05-31 19:08:45 +02:00
Eloren1 23aef44ae1 UI: Add load state confirmation option 2026-05-31 19:32:41 +03:00
Henrik Rydgård dd125b2e4d Delete obsolete (and non-working) support for GPUs without non-pow-2 textures. 2026-05-24 14:15:34 +02:00
Henrik Rydgård 4a420c95c2 Remove some redundant device caps, show clip/cull/depth-clamp in system info 2026-05-21 11:59:26 +02:00
Henrik Rydgård cc0ece038c Clean up the string type in RequestCallback - somehow was both char* and std::string????
Might be related to #21695
2026-05-18 14:16:34 +02:00
Henrik Rydgård afb764e6ae Rendering: Unify the Y-flipping state across backends (now only applied in-shader, not through matrices). 2026-05-14 23:30:06 +02:00
Henrik Rydgård bc62602935 Add checkboxes to enable/disable the three input backends.
Can probably serve as a workaround for #21494
2026-05-01 21:28:25 +02:00
Katharine Chui 64cfac792c fix adhoc server option missing when updating or using local address
Prior to this change, adhoc server option does not render when
g_Config.sProAdhocServer has value, but the hostname is not found
with AdhocGetServerByHost. This can be caused by either updating
from an older version of PPSSPP, or using one of the local
address in the server list.
2026-04-16 12:46:11 +02:00
Henrik Rydgård 5ef608a12a Network settings: Show proper server name if available 2026-04-13 11:30:52 -06:00
Henrik Rydgård 49d3d3dc37 Settings and dev settings: Preserve the current tab. Minor UI tweaks. 2026-04-06 12:09:40 -06:00
Guido Cella 4413c7b10f Implement pause on lost focus on SDL
This option was Windows exclusive and this commit implements it on SDL
as well.

It is hidden on mobile devices because it makes no sense there.
2026-04-01 15:39:34 +02:00
Henrik Rydgård cfc5d74602 Some progress with server status UI 2026-03-30 11:34:19 -06:00
Henrik Rydgård f6e518aae7 More string cleanup 2026-03-26 09:49:35 -06:00
Henrik Rydgård 212547eece Remove "Change" from "Change nickname", remove redundant translation 2026-03-26 09:35:37 -06:00
Henrik Rydgård a4b76ed285 Try to nudge the user to pick a unique nickname for adhoc 2026-03-26 09:29:20 -06:00
Henrik Rydgård 77c28d7b5d Clean up quickchat setting code and translation strings 2026-03-18 08:58:50 +01:00
Henrik Rydgård 0d2f7055fd Fix a minor misbehavior with "non-added" adhoc server names 2026-03-14 23:47:21 +01:00
Henrik Rydgård 75453632f9 Handle inset adjustements on the C++ side, handle them better in the UI. 2026-03-14 18:13:37 +01:00
Henrik Rydgård e33fd29bd2 Add a "quick-edit" button for the current server host/ip, if it's custom
This was requested by Majin on Discord, whose server changes IP
regularly for some reason.
2026-03-14 13:45:45 +01:00
Henrik Rydgård 80f8911c88 Make it clearer that you can enter a hostname or an IP when adding a server 2026-03-14 09:41:55 +01:00
Henrik Rydgård fba616a259 Show setting hints as disabled if the setting is disabled
See #21423
2026-03-13 16:40:02 +01:00
Henrik Rydgård d1d42a490a Rename "Change MAC address" to "MAC address" 2026-03-12 12:26:14 +01:00
Henrik Rydgård 556c501c30 Remove "PRO" branding from adhoc servers 2026-03-12 12:24:38 +01:00
Henrik Rydgård 6a627c4cd2 Add link to the new multiplayer quickstart guide 2026-03-12 12:20:14 +01:00
Henrik Rydgård 6c46d97af0 Reorder some settings, split out the hint for Port Offset 2026-03-12 12:01:34 +01:00
Henrik Rydgård 4af47ff7b2 Minor cleanup 2026-03-12 11:10:35 +01:00
Henrik Rydgård e0f1b6b7d9 Move the "localhost = multiple instances" hint into the adhoc server selector 2026-03-10 09:05:10 +01:00
Henrik Rydgård f175408968 Reorder network settings a little, show the nickname setting there too (yes, dupe, but useful). 2026-03-10 09:05:10 +01:00
Henrik Rydgård 7728a2996a Avoid emitting the "Audio backend" itemheader twice on SDL 2026-03-09 19:00:44 +01:00
Henrik Rydgård d596e43b4b Android: Scale down selected background images when too large. Fix activity issue. 2026-03-08 14:53:20 +01:00
Henrik Rydgård d6ca0378b6 Move DarwinFileSystemServices.mm/h to Core/Util 2026-03-07 11:35:34 +01:00
Henrik Rydgård d2e7510cea Rename a translation string, remove ':' 2026-03-06 13:25:07 +01:00
Henrik Rydgård 15055ee360 Fixes to gesture mapping - don't gate double-tap and analog between the gesture enable control for each zone. 2026-03-06 00:44:31 +01:00
Henrik Rydgård abb70094ee Fix two untranslatable strings
See #21356
2026-03-05 23:09:46 +01:00
Henrik Rydgård 2052ebc60c Fix switching of audio devices on Windows.
Fixes #21337
2026-03-04 14:41:59 +01:00
Henrik Rydgård e780e32f98 Controls: Add a setting for the threshold used to map analog stick inputs to digital buttons 2026-03-02 22:50:15 +01:00
Henrik Rydgård 9097dd935a Somewhat improve the UI of the adhoc server list 2026-02-26 17:17:42 +01:00
Henrik Rydgård 5255d450bc Move the AdhocServerScreen to its own file, remove the "Toggle List" button 2026-02-26 17:17:42 +01:00
Henrik Rydgård 22f2e69d0a Integrate the exit reminder (you haven't saved..) in warnings from setting that require restart
Part of #21223
2026-02-24 00:56:45 +01:00
Henrik Rydgård eb56b9e0c6 Correct bug where MainScreen wasn't updated after a language change in settings 2026-02-20 09:28:04 +01:00
Henrik Rydgård 7c8b759141 Show default on some more settings with the new mechanism. Not sure if this is actually a good thing or just messy 2026-02-19 16:15:26 +01:00
Henrik Rydgård 20f1714e6e Merge pull request #21280 from Kethen/adhoc_stuffs
Adhoc relay server: Auto/Yes/No instead of checkbox
2026-02-19 10:47:07 +01:00