[GPU] Improvements to GPU settings modification

- Renamed CommonGPUSetting to GPUSetting
- Removed readback_resolve and memexport from d3d12 exclusive option. In the future it will be available for Vulkan too.
- Removed unused enum class: gpu_cvar
- Removed OS specific code from emulator_window
This commit is contained in:
Gliniak
2025-01-17 20:40:53 +01:00
parent 85695692a7
commit 0474053931
5 changed files with 64 additions and 49 deletions

View File

@@ -112,11 +112,6 @@ class EmulatorWindow {
Unknown
};
enum class gpu_cvar {
ClearMemoryPageState,
ReadbackResolve,
};
class ControllerHotKey {
public:
// If true the hotkey can be activated while a title is running, otherwise
@@ -235,7 +230,7 @@ class EmulatorWindow {
void VibrateController(xe::hid::InputSystem* input_sys, uint32_t user_index,
bool vibrate = true);
void GamepadHotKeys();
void ToggleGPUSetting(gpu_cvar index);
void ToggleGPUSetting(gpu::GPUSetting setting);
void DisplayHotKeysConfig();
static std::string CanonicalizeFileExtension(