summaryrefslogtreecommitdiffstats
path: root/app/gfx/gl/gl_context_egl.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/gfx/gl/gl_context_egl.h')
-rw-r--r--app/gfx/gl/gl_context_egl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/gfx/gl/gl_context_egl.h b/app/gfx/gl/gl_context_egl.h
index 3f1884b..9c59825 100644
--- a/app/gfx/gl/gl_context_egl.h
+++ b/app/gfx/gl/gl_context_egl.h
@@ -9,7 +9,8 @@
#include "gfx/size.h"
#include "app/gfx/gl/gl_context.h"
-typedef void *EGLContext;
+typedef void* EGLDisplay;
+typedef void* EGLContext;
typedef void* EGLSurface;
namespace gfx {
@@ -26,6 +27,8 @@ class BaseEGLContext : public GLContext {
static bool InitializeOneOff();
+ static EGLDisplay GetDisplay();
+
private:
DISALLOW_COPY_AND_ASSIGN(BaseEGLContext);
};