forked from dolphin-emu/dolphin
		
	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; }
 | 
						|
};
 | 
						|
}
 |