dolphin/Source/Core/VideoBackends/Vulkan/VideoBackend.h
Stenzek d96e8c9d76 VideoBackends: Combine Initialize/Prepare and Cleanup/Shutdown methods
Also allows the work previously done in Prepare to return a failure
status.
2018-01-27 13:53:55 +10:00

24 lines
557 B
C++

// Copyright 2016 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include "VideoCommon/VideoBackendBase.h"
namespace Vulkan
{
class VideoBackend : public VideoBackendBase
{
public:
bool Initialize(void* window_handle) override;
void Shutdown() override;
std::string GetName() const override { return "Vulkan"; }
std::string GetDisplayName() const override { return "Vulkan (experimental)"; }
void InitBackendInfo() override;
unsigned int PeekMessages() override { return 0; }
};
}