- Setup Contexts to pull more info from the GPU

- Started outlining OpenGL implementation
This commit is contained in:
2025-07-28 21:06:52 -04:00
parent 7aafa4c9aa
commit 3d4ea4398a
11 changed files with 217 additions and 46 deletions

View File

@@ -32,6 +32,11 @@ public:
~eglcontext() override;
bool connected() override;
int32_t get_version_major() override { return _eglvmajor; }
int32_t get_version_minor() override { return _eglvminor; }
int32_t get_context_version() override { return _eglctype; }
const cstring& get_context_name() override;
bool check_extension(const cstring& ext) override;
void make_current(gfxsurface* surface) override;
@@ -39,7 +44,8 @@ private:
EGLDisplay _egldisplay;
EGLContext _eglcontext;
EGLConfig _eglconfig;
EGLint _eglvmajor, _eglvminor;
EGLint _eglvmajor, _eglvminor, _eglctype;
cstring _extensions;
void cleanup();
};