diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_ContextEGL.h')
-rw-r--r-- | intern/ghost/intern/GHOST_ContextEGL.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_ContextEGL.h b/intern/ghost/intern/GHOST_ContextEGL.h index f828271d88d..88d78b159b9 100644 --- a/intern/ghost/intern/GHOST_ContextEGL.h +++ b/intern/ghost/intern/GHOST_ContextEGL.h @@ -100,6 +100,12 @@ class GHOST_ContextEGL : public GHOST_Context { */ GHOST_TSuccess getSwapInterval(int &intervalOut); + EGLDisplay getDisplay() const; + + EGLConfig getConfig() const; + + EGLContext getContext() const; + private: bool initContextEGLEW(); @@ -117,6 +123,7 @@ class GHOST_ContextEGL : public GHOST_Context { EGLContext m_context; EGLSurface m_surface; EGLDisplay m_display; + EGLConfig m_config; EGLint m_swap_interval; |