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