ppsspp/libretro/LibretroVulkanContext.h
aliaspider d1711c5aa4 nits.
2018-03-24 13:39:05 +01:00

20 lines
612 B
C++

#pragma once
#include "Common/Vulkan/VulkanLoader.h"
#include "libretro/LibretroGraphicsContext.h"
class LibretroVulkanContext : public LibretroHWRenderContext {
public:
LibretroVulkanContext() : LibretroHWRenderContext(RETRO_HW_CONTEXT_VULKAN, VK_MAKE_VERSION(1, 0, 18)) {}
~LibretroVulkanContext() override {}
bool Init() override;
void Shutdown() override;
void SwapBuffers() override;
void ContextDestroy() override;
void *GetAPIContext() override;
void CreateDrawContext() override;
GPUCore GetGPUCore() override { return GPUCORE_VULKAN; }
const char *Ident() override { return "Vulkan"; }
};