2016-08-13 12:57:50 +00:00
|
|
|
// Copyright 2016 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
|
|
|
std::string GetName() const override { return "Vulkan"; }
|
2019-03-07 01:05:59 +00:00
|
|
|
std::string GetDisplayName() const override { return _trans("Vulkan"); }
|
2016-08-13 12:57:50 +00:00
|
|
|
void InitBackendInfo() override;
|
2018-05-31 11:23:45 +00:00
|
|
|
void PrepareWindow(const WindowSystemInfo& wsi) override;
|
2016-08-13 12:57:50 +00:00
|
|
|
};
|
2018-10-03 13:03:13 +00:00
|
|
|
} // namespace Vulkan
|