qzdoom/src/win32/win32vulkanvideo.h
Magnus Norddahl c6b29846d0 - add 3rd party vulkan dependencies
- add stubs for a vulkan hw renderer backend
- add RAII wrappers for vulkan object types
- add builder classes to isolate vulkan boilerplate code
- add a swap chain class
2019-02-20 21:21:57 +01:00

43 lines
723 B
C++

#pragma once
#include "win32basevideo.h"
#include "c_cvars.h"
#include "rendering/vulkan/system/vk_framebuffer.h"
EXTERN_CVAR(Bool, fullscreen)
//==========================================================================
//
//
//
//==========================================================================
class Win32VulkanVideo : public Win32BaseVideo
{
VulkanDevice *device = nullptr;
public:
Win32VulkanVideo()
{
device = new VulkanDevice();
}
~Win32VulkanVideo()
{
delete device;
}
void Shutdown() override
{
delete device;
device = nullptr;
}
DFrameBuffer *CreateFrameBuffer() override
{
auto fb = new VulkanFrameBuffer(m_hMonitor, fullscreen, device);
return fb;
}
protected:
};