2017-06-15 23:43:01 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-07-06 22:40:15 +00:00
|
|
|
#include "DolphinQt/Config/Graphics/GraphicsWidget.h"
|
2017-06-15 23:43:01 +00:00
|
|
|
|
|
|
|
class GraphicsWindow;
|
|
|
|
class QCheckBox;
|
2020-04-26 21:40:47 +00:00
|
|
|
class QComboBox;
|
2019-07-17 18:15:25 +00:00
|
|
|
class QSpinBox;
|
2017-06-15 23:43:01 +00:00
|
|
|
|
|
|
|
class AdvancedWidget final : public GraphicsWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit AdvancedWidget(GraphicsWindow* parent);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void LoadSettings() override;
|
|
|
|
void SaveSettings() override;
|
|
|
|
|
|
|
|
void CreateWidgets();
|
|
|
|
void ConnectWidgets();
|
|
|
|
void AddDescriptions();
|
|
|
|
void OnBackendChanged();
|
|
|
|
void OnEmulationStateChanged(bool running);
|
|
|
|
|
|
|
|
// Debugging
|
|
|
|
QCheckBox* m_enable_wireframe;
|
|
|
|
QCheckBox* m_show_statistics;
|
|
|
|
QCheckBox* m_enable_format_overlay;
|
|
|
|
QCheckBox* m_enable_api_validation;
|
|
|
|
|
|
|
|
// Utility
|
|
|
|
QCheckBox* m_prefetch_custom_textures;
|
|
|
|
QCheckBox* m_dump_efb_target;
|
2018-05-03 04:24:56 +00:00
|
|
|
QCheckBox* m_disable_vram_copies;
|
2017-06-15 23:43:01 +00:00
|
|
|
QCheckBox* m_load_custom_textures;
|
|
|
|
QCheckBox* m_enable_freelook;
|
2020-04-26 21:40:47 +00:00
|
|
|
QComboBox* m_freelook_control_type;
|
2017-06-15 23:43:01 +00:00
|
|
|
|
2020-05-05 04:07:06 +00:00
|
|
|
// Texture dumping
|
|
|
|
QCheckBox* m_dump_textures;
|
|
|
|
QCheckBox* m_dump_mip_textures;
|
|
|
|
QCheckBox* m_dump_base_textures;
|
|
|
|
|
2019-07-17 18:02:08 +00:00
|
|
|
// Frame dumping
|
|
|
|
QCheckBox* m_dump_use_ffv1;
|
|
|
|
QCheckBox* m_use_fullres_framedumps;
|
2019-07-17 18:15:25 +00:00
|
|
|
QSpinBox* m_dump_bitrate;
|
2019-07-17 18:02:08 +00:00
|
|
|
|
2017-06-15 23:43:01 +00:00
|
|
|
// Misc
|
|
|
|
QCheckBox* m_enable_cropping;
|
|
|
|
QCheckBox* m_enable_prog_scan;
|
2018-08-03 15:00:04 +00:00
|
|
|
QCheckBox* m_backend_multithreading;
|
2017-06-15 23:43:01 +00:00
|
|
|
QCheckBox* m_borderless_fullscreen;
|
2019-03-09 02:36:32 +00:00
|
|
|
|
|
|
|
// Experimental
|
|
|
|
QCheckBox* m_defer_efb_access_invalidation;
|
2017-06-15 23:43:01 +00:00
|
|
|
};
|