ppsspp/libretro/LibretroVulkanContext.h

22 lines
539 B
C
Raw Normal View History

2018-03-24 11:44:53 +00:00
#pragma once
#include "libretro/LibretroGraphicsContext.h"
class LibretroVulkanContext : public LibretroHWRenderContext {
2018-03-26 16:37:34 +00:00
public:
LibretroVulkanContext();
~LibretroVulkanContext() override { Shutdown(); }
2018-03-24 11:44:53 +00:00
bool Init() override;
void Shutdown() override;
void SwapBuffers() override;
void *GetAPIContext() override;
void CreateDrawContext() override;
2024-05-28 05:07:20 +00:00
void ContextReset() override;
void ContextDestroy() override;
2018-03-24 11:44:53 +00:00
GPUCore GetGPUCore() override { return GPUCORE_VULKAN; }
const char *Ident() override { return "Vulkan"; }
};