2016-08-13 12:57:50 +00:00
|
|
|
// Copyright 2016 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2016-08-13 12:57:50 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-06-30 08:53:24 +00:00
|
|
|
#include "Common/Common.h"
|
2016-08-13 12:57:50 +00:00
|
|
|
#include "VideoCommon/VideoBackendBase.h"
|
|
|
|
|
|
|
|
namespace Vulkan
|
|
|
|
{
|
|
|
|
class VideoBackend : public VideoBackendBase
|
|
|
|
{
|
2017-01-29 12:14:09 +00:00
|
|
|
public:
|
2018-10-03 13:03:22 +00:00
|
|
|
bool Initialize(const WindowSystemInfo& wsi) override;
|
2016-08-13 12:57:50 +00:00
|
|
|
void Shutdown() override;
|
|
|
|
|
2020-09-06 10:56:45 +00:00
|
|
|
std::string GetName() const override { return NAME; }
|
2019-03-07 01:05:59 +00:00
|
|
|
std::string GetDisplayName() const override { return _trans("Vulkan"); }
|
2023-03-26 00:16:53 +00:00
|
|
|
void InitBackendInfo(const WindowSystemInfo& wsi) override;
|
2020-03-11 13:10:28 +00:00
|
|
|
void PrepareWindow(WindowSystemInfo& wsi) override;
|
2020-09-06 10:56:45 +00:00
|
|
|
|
|
|
|
static constexpr const char* NAME = "Vulkan";
|
2016-08-13 12:57:50 +00:00
|
|
|
};
|
2018-10-03 13:03:13 +00:00
|
|
|
} // namespace Vulkan
|