2017-06-16 01:43:01 +02:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-06-16 01:43:01 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-07-07 00:40:15 +02:00
|
|
|
#include "DolphinQt/Config/Graphics/GraphicsWidget.h"
|
2017-06-16 01:43:01 +02:00
|
|
|
|
2020-10-20 20:01:33 -05:00
|
|
|
class GraphicsBool;
|
|
|
|
class GraphicsChoice;
|
|
|
|
class GraphicsInteger;
|
2017-06-16 01:43:01 +02:00
|
|
|
class GraphicsWindow;
|
|
|
|
class QCheckBox;
|
2020-04-26 16:40:47 -05:00
|
|
|
class QComboBox;
|
2019-07-17 20:15:25 +02:00
|
|
|
class QSpinBox;
|
2020-10-20 20:01:33 -05:00
|
|
|
class ToolTipCheckBox;
|
2017-06-16 01:43:01 +02: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
|
2020-10-20 20:01:33 -05:00
|
|
|
GraphicsBool* m_enable_wireframe;
|
|
|
|
GraphicsBool* m_show_statistics;
|
|
|
|
GraphicsBool* m_enable_format_overlay;
|
|
|
|
GraphicsBool* m_enable_api_validation;
|
2017-06-16 01:43:01 +02:00
|
|
|
|
|
|
|
// Utility
|
2020-10-20 20:01:33 -05:00
|
|
|
GraphicsBool* m_prefetch_custom_textures;
|
|
|
|
GraphicsBool* m_dump_efb_target;
|
2021-05-27 12:32:02 +12:00
|
|
|
GraphicsBool* m_dump_xfb_target;
|
2020-10-20 20:01:33 -05:00
|
|
|
GraphicsBool* m_disable_vram_copies;
|
|
|
|
GraphicsBool* m_load_custom_textures;
|
2022-04-07 00:00:38 -05:00
|
|
|
GraphicsBool* m_enable_graphics_mods;
|
2017-06-16 01:43:01 +02:00
|
|
|
|
2020-05-04 23:07:06 -05:00
|
|
|
// Texture dumping
|
2020-10-20 20:01:33 -05:00
|
|
|
GraphicsBool* m_dump_textures;
|
|
|
|
GraphicsBool* m_dump_mip_textures;
|
|
|
|
GraphicsBool* m_dump_base_textures;
|
2020-05-04 23:07:06 -05:00
|
|
|
|
2019-07-17 20:02:08 +02:00
|
|
|
// Frame dumping
|
2020-10-20 20:01:33 -05:00
|
|
|
GraphicsBool* m_dump_use_ffv1;
|
|
|
|
GraphicsBool* m_use_fullres_framedumps;
|
|
|
|
GraphicsInteger* m_dump_bitrate;
|
2021-10-01 17:56:46 -07:00
|
|
|
GraphicsInteger* m_png_compression_level;
|
2019-07-17 20:02:08 +02:00
|
|
|
|
2017-06-16 01:43:01 +02:00
|
|
|
// Misc
|
2020-10-20 20:01:33 -05:00
|
|
|
GraphicsBool* m_enable_cropping;
|
|
|
|
ToolTipCheckBox* m_enable_prog_scan;
|
|
|
|
GraphicsBool* m_backend_multithreading;
|
|
|
|
GraphicsBool* m_borderless_fullscreen;
|
2019-03-09 12:36:32 +10:00
|
|
|
|
|
|
|
// Experimental
|
2020-10-20 20:01:33 -05:00
|
|
|
GraphicsBool* m_defer_efb_access_invalidation;
|
2021-10-15 11:57:53 -07:00
|
|
|
GraphicsBool* m_manual_texture_sampling;
|
2017-06-16 01:43:01 +02:00
|
|
|
};
|