15#ifndef GPUDISPLAYFRONTENDX11_H
16#define GPUDISPLAYFRONTENDX11_H
37 void OpenGLPrint(
const char* s,
float x,
float y,
float r,
float g,
float b,
float a,
bool fromBotton =
true)
override;
43 int32_t FrontendMain()
override;
44 int32_t GetKey(int32_t
key);
45 void GetKey(XEvent&
event, int32_t& keyOut, int32_t& keyPressOut);
48 volatile bool mDisplayRunning =
false;
52 Display* mDisplay =
nullptr;
55 PFNGLXSWAPINTERVALEXTPROC mGlXSwapIntervalEXT =
nullptr;
56 bool vsync_supported =
false;
~GPUDisplayFrontendX11() override=default
void getSize(int32_t &width, int32_t &height) override
void DisplayExit() override
int32_t getVulkanSurface(void *instance, void *surface) override
void ToggleMaximized(bool set) override
void OpenGLPrint(const char *s, float x, float y, float r, float g, float b, float a, bool fromBotton=true) override
uint32_t getReqVulkanExtensions(const char **&p) override
int32_t StartDisplay() override
void SwitchFullscreen(bool set) override
void SetVSync(bool enable) override
GLint GLsizei GLsizei height
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a