| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include "Common/Common.h" |
| 7 |
#include "VideoCommon/VideoBackendBase.h" |
| 8 |
|
| 9 |
namespace Vulkan |
| 10 |
{ |
| 11 |
class VideoBackend : public VideoBackendBase |
| 12 |
{ |
| 13 |
public: |
| 14 |
bool Initialize(const WindowSystemInfo& wsi) override; |
| 15 |
void Shutdown() override; |
| 16 |
|
| 17 |
std::string GetConfigName() const override { return CONFIG_NAME; } |
| 18 |
std::string GetDisplayName() const override { return _trans("Vulkan"); } |
| 19 |
void InitBackendInfo(const WindowSystemInfo& wsi) override; |
| 20 |
void PrepareWindow(WindowSystemInfo& wsi) override; |
| 21 |
|
| 22 |
static constexpr const char* CONFIG_NAME = "Vulkan"; |
| 23 |
}; |
| 24 |
} |