#pragma once #include #include #include #include class CEGL { public: CEGL(wl_display*); EGLDisplay eglDisplay; EGLConfig eglConfig; EGLContext eglContext; PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC eglCreatePlatformWindowSurfaceEXT; void makeCurrent(EGLSurface surf); }; inline std::unique_ptr g_pEGL;