mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-27 05:40:04 +00:00
a7d3489dc9
video_core: add texture filtering
35 lines
694 B
C++
35 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;
|
|
};
|