- In commit b3facaa6bb, the copyright header was
updated to include "Citron Homebrew Project" across multiple files, regardless
of whether any contributions were made.
- This commit removes the incorrect attribution and reverts the copyright header
to its previous state.
- Copyright attribution should only be added when meaningful contributions have
been made to the file.
- This commit ensures proper compliance with copyright standards and maintains
correct attribution to the respective contributors.
- Special thanks to Tachi for pointing out the need for these corrections and
ensuring that proper attribution practices are followed.
49 lines
1.2 KiB
C++
49 lines
1.2 KiB
C++
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
#include <vector>
|
|
#include <QWidget>
|
|
#include "citron/configuration/configuration_shared.h"
|
|
|
|
namespace Core {
|
|
class System;
|
|
}
|
|
|
|
namespace Ui {
|
|
class ConfigureGraphicsAdvanced;
|
|
}
|
|
|
|
namespace ConfigurationShared {
|
|
class Builder;
|
|
}
|
|
|
|
class ConfigureGraphicsAdvanced : public ConfigurationShared::Tab {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ConfigureGraphicsAdvanced(
|
|
const Core::System& system_, std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group,
|
|
const ConfigurationShared::Builder& builder, QWidget* parent = nullptr);
|
|
~ConfigureGraphicsAdvanced() override;
|
|
|
|
void ApplyConfiguration() override;
|
|
void SetConfiguration() override;
|
|
|
|
void ExposeComputeOption();
|
|
|
|
private:
|
|
void Setup(const ConfigurationShared::Builder& builder);
|
|
void changeEvent(QEvent* event) override;
|
|
void RetranslateUI();
|
|
|
|
std::unique_ptr<Ui::ConfigureGraphicsAdvanced> ui;
|
|
|
|
const Core::System& system;
|
|
|
|
std::vector<std::function<void(bool)>> apply_funcs;
|
|
|
|
QWidget* checkbox_enable_compute_pipelines{};
|
|
};
|