1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-12-13 06:45:13 -06:00

modifying all the files to match the app

This commit is contained in:
AMA2581
2024-03-06 00:19:07 +03:30
parent 09697fff49
commit 5720814b13
2887 changed files with 18366 additions and 18295 deletions

36
src/suyu/vk_device_info.h Normal file
View File

@@ -0,0 +1,36 @@
// SPDX-FileCopyrightText: 2023 suyu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <algorithm>
#include <iterator>
#include <memory>
#include <string>
#include <string_view>
#include <vector>
#include "common/common_types.h"
#include "vulkan/vulkan_core.h"
class QWindow;
namespace Settings {
enum class VSyncMode : u32;
}
// #include "common/settings.h"
namespace VkDeviceInfo {
// Short class to record Vulkan driver information for configuration purposes
class Record {
public:
explicit Record(std::string_view name, const std::vector<VkPresentModeKHR>& vsync_modes,
bool has_broken_compute);
~Record();
const std::string name;
const std::vector<VkPresentModeKHR> vsync_support;
const bool has_broken_compute;
};
void PopulateRecords(std::vector<Record>& records, QWindow* window);
} // namespace VkDeviceInfo