mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-13 03:40:44 +02:00

This commit changes the default value of Fast Texture Sampling to true, and also moves the setting that controls it to the experimental section of the advanced tab. This is its own commit so that it can be easily reverted when we want to default to Manual Texture Sampling. Co-authored-by: JosJuice <josjuice@gmail.com>
66 lines
1.5 KiB
C++
66 lines
1.5 KiB
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include "DolphinQt/Config/Graphics/GraphicsWidget.h"
|
|
|
|
class GraphicsBool;
|
|
class GraphicsChoice;
|
|
class GraphicsInteger;
|
|
class GraphicsWindow;
|
|
class QCheckBox;
|
|
class QComboBox;
|
|
class QSpinBox;
|
|
class ToolTipCheckBox;
|
|
|
|
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
|
|
GraphicsBool* m_enable_wireframe;
|
|
GraphicsBool* m_show_statistics;
|
|
GraphicsBool* m_enable_format_overlay;
|
|
GraphicsBool* m_enable_api_validation;
|
|
|
|
// Utility
|
|
GraphicsBool* m_prefetch_custom_textures;
|
|
GraphicsBool* m_dump_efb_target;
|
|
GraphicsBool* m_dump_xfb_target;
|
|
GraphicsBool* m_disable_vram_copies;
|
|
GraphicsBool* m_load_custom_textures;
|
|
|
|
// Texture dumping
|
|
GraphicsBool* m_dump_textures;
|
|
GraphicsBool* m_dump_mip_textures;
|
|
GraphicsBool* m_dump_base_textures;
|
|
|
|
// Frame dumping
|
|
GraphicsBool* m_dump_use_ffv1;
|
|
GraphicsBool* m_use_fullres_framedumps;
|
|
GraphicsInteger* m_dump_bitrate;
|
|
|
|
// Misc
|
|
GraphicsBool* m_enable_cropping;
|
|
ToolTipCheckBox* m_enable_prog_scan;
|
|
GraphicsBool* m_backend_multithreading;
|
|
GraphicsBool* m_borderless_fullscreen;
|
|
|
|
// Experimental
|
|
GraphicsBool* m_defer_efb_access_invalidation;
|
|
GraphicsBool* m_manual_texture_sampling;
|
|
};
|