mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 09:09:12 +01:00
2f1a7cbee1
Skip ubershader mode works the same as hybrid ubershaders in that the shaders are compiled asynchronously. However, instead of using the ubershader to draw the object, it skips it entirely until the specialized shader is made available. This mode will likely result in broken effects where a game creates an EFB copy, and does not redraw it every frame. Therefore, it is not a recommended option, however, it may result in better performance on low-end systems.
27 lines
463 B
C++
27 lines
463 B
C++
// Copyright 2018 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <QRadioButton>
|
|
|
|
namespace Config
|
|
{
|
|
template <typename T>
|
|
struct ConfigInfo;
|
|
}
|
|
|
|
class GraphicsRadioInt : public QRadioButton
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
GraphicsRadioInt(const QString& label, const Config::ConfigInfo<int>& setting, int value);
|
|
|
|
private:
|
|
void Update();
|
|
|
|
const Config::ConfigInfo<int>& m_setting;
|
|
int m_value;
|
|
};
|