- Setup Contexts to pull more info from the GPU
- Started outlining OpenGL implementation
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user