mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
95b9941044
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>
54 lines
1.2 KiB
C++
54 lines
1.2 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 GraphicsWindow;
|
|
class QLabel;
|
|
class ToolTipSlider;
|
|
|
|
class HacksWidget final : public GraphicsWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit HacksWidget(GraphicsWindow* parent);
|
|
|
|
private:
|
|
void LoadSettings() override;
|
|
void SaveSettings() override;
|
|
|
|
void OnBackendChanged(const QString& backend_name);
|
|
|
|
// EFB
|
|
GraphicsBool* m_skip_efb_cpu;
|
|
GraphicsBool* m_ignore_format_changes;
|
|
GraphicsBool* m_store_efb_copies;
|
|
GraphicsBool* m_defer_efb_copies;
|
|
|
|
// Texture Cache
|
|
QLabel* m_accuracy_label;
|
|
ToolTipSlider* m_accuracy;
|
|
GraphicsBool* m_gpu_texture_decoding;
|
|
|
|
// External Framebuffer
|
|
GraphicsBool* m_store_xfb_copies;
|
|
GraphicsBool* m_immediate_xfb;
|
|
GraphicsBool* m_skip_duplicate_xfbs;
|
|
|
|
// Other
|
|
GraphicsBool* m_fast_depth_calculation;
|
|
GraphicsBool* m_disable_bounding_box;
|
|
GraphicsBool* m_vertex_rounding;
|
|
GraphicsBool* m_save_texture_cache_state;
|
|
|
|
void CreateWidgets();
|
|
void ConnectWidgets();
|
|
void AddDescriptions();
|
|
|
|
void UpdateDeferEFBCopiesEnabled();
|
|
void UpdateSkipPresentingDuplicateFramesEnabled();
|
|
};
|