a7d3489dc9
video_core: add texture filtering
34 lines
694 B
C++
34 lines
694 B
C++
// Copyright 2019 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
namespace Settings {
|
|
enum class StereoRenderOption;
|
|
}
|
|
|
|
namespace Ui {
|
|
class ConfigureEnhancements;
|
|
}
|
|
|
|
class ConfigureEnhancements : public QWidget {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureEnhancements(QWidget* parent = nullptr);
|
|
~ConfigureEnhancements();
|
|
|
|
void ApplyConfiguration();
|
|
void RetranslateUI();
|
|
void SetConfiguration();
|
|
|
|
private:
|
|
void updateShaders(Settings::StereoRenderOption stereo_option);
|
|
void updateTextureFilter(int index);
|
|
|
|
Ui::ConfigureEnhancements* ui;
|
|
QColor bg_color;
|
|
};
|