mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
3b218c64b1
Hopefully will fix the crash in vkDestroyInstance on the NV Shield TV, and likely reduce boot times slightly for drivers that take a while to create instances.
27 lines
624 B
C++
27 lines
624 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 Video_Prepare() override;
|
|
void Video_Cleanup() override;
|
|
|
|
void InitBackendInfo() override;
|
|
|
|
unsigned int PeekMessages() override { return 0; }
|
|
};
|
|
}
|