pineapple/src/yuzu/configuration/configure_graphics_advanced.h

55 lines
1.5 KiB
C
Raw Normal View History

2022-11-05 13:58:44 +01:00
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <memory>
#include <QWidget>
namespace Core {
class System;
}
namespace ConfigurationShared {
enum class CheckState;
}
namespace Ui {
class ConfigureGraphicsAdvanced;
}
class ConfigureGraphicsAdvanced : public QWidget {
Q_OBJECT
public:
explicit ConfigureGraphicsAdvanced(const Core::System& system_, QWidget* parent = nullptr);
~ConfigureGraphicsAdvanced() override;
void ApplyConfiguration();
void SetConfiguration();
2023-05-08 00:52:13 +02:00
void ExposeComputeOption();
2022-11-05 13:58:44 +01:00
private:
void changeEvent(QEvent* event) override;
void RetranslateUI();
void SetupPerGameUI();
std::unique_ptr<Ui::ConfigureGraphicsAdvanced> ui;
2023-05-03 01:52:43 +02:00
ConfigurationShared::CheckState async_present;
2023-01-06 18:59:36 +01:00
ConfigurationShared::CheckState renderer_force_max_clock;
2022-11-05 13:58:44 +01:00
ConfigurationShared::CheckState use_vsync;
2023-02-24 12:03:44 +01:00
ConfigurationShared::CheckState async_astc;
2023-05-04 16:44:44 +02:00
ConfigurationShared::CheckState use_reactive_flushing;
2022-11-05 13:58:44 +01:00
ConfigurationShared::CheckState use_asynchronous_shaders;
ConfigurationShared::CheckState use_fast_gpu_time;
2023-01-05 23:14:41 +01:00
ConfigurationShared::CheckState use_vulkan_driver_pipeline_cache;
2023-05-08 00:52:13 +02:00
ConfigurationShared::CheckState enable_compute_pipelines;
2023-06-08 17:56:30 +02:00
ConfigurationShared::CheckState use_video_framerate;
2023-06-16 06:24:57 +02:00
ConfigurationShared::CheckState barrier_feedback_loops;
2022-11-05 13:58:44 +01:00
const Core::System& system;
};