From 677fee9d0277c990e19760e1543ed07ed5115a07 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 31 Mar 2016 19:22:23 +0200 Subject: opengl renderer --- gfx.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gfx.h') diff --git a/gfx.h b/gfx.h index 16d25fa..f3602c6 100644 --- a/gfx.h +++ b/gfx.h @@ -1,6 +1,8 @@ #include #include +#include + typedef struct gfxstate gfxstate; struct gfxstate { @@ -15,6 +17,11 @@ struct gfxstate { uint32_t rlen, glen, blen, tlen; uint32_t roff, goff, boff, toff; + /* egl */ + EGLDisplay dpy; + EGLContext ctx; + EGLSurface surface; + /* calls */ void (*restore_display)(void); void (*cleanup_display)(void); -- cgit