CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/libretro/LibretroVulkanContext.h
Views: 1401
1
#pragma once
2
3
#include "libretro/LibretroGraphicsContext.h"
4
5
class LibretroVulkanContext : public LibretroHWRenderContext {
6
public:
7
LibretroVulkanContext();
8
~LibretroVulkanContext() override { Shutdown(); }
9
bool Init() override;
10
void Shutdown() override;
11
void SwapBuffers() override;
12
13
void *GetAPIContext() override;
14
void CreateDrawContext() override;
15
16
void ContextReset() override;
17
void ContextDestroy() override;
18
19
GPUCore GetGPUCore() override { return GPUCORE_VULKAN; }
20
const char *Ident() override { return "Vulkan"; }
21
};
22
23