mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
dffc36b854
Only tested on Windows.
21 lines
493 B
C++
21 lines
493 B
C++
#pragma once
|
|
|
|
#include "libretro/LibretroGraphicsContext.h"
|
|
|
|
class LibretroVulkanContext : public LibretroHWRenderContext {
|
|
public:
|
|
LibretroVulkanContext();
|
|
~LibretroVulkanContext() override {}
|
|
bool Init() override;
|
|
void Shutdown() override;
|
|
void SwapBuffers() override;
|
|
|
|
void *GetAPIContext() override;
|
|
void CreateDrawContext() override;
|
|
|
|
void ContextReset() override;
|
|
|
|
GPUCore GetGPUCore() override { return GPUCORE_VULKAN; }
|
|
const char *Ident() override { return "Vulkan"; }
|
|
};
|