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