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