diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-31 19:22:23 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-31 19:22:23 +0200 |
commit | 677fee9d0277c990e19760e1543ed07ed5115a07 (patch) | |
tree | bc847b14c279a1e6051d936afd0ee66cec00ca9b /gfx.h | |
parent | 6721e3612de2c9a3f7b6f94be6599ccb0e0eaa88 (diff) | |
download | fbida-677fee9d0277c990e19760e1543ed07ed5115a07.tar.gz |
opengl renderer
Diffstat (limited to 'gfx.h')
-rw-r--r-- | gfx.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,6 +1,8 @@ #include <stdbool.h> #include <inttypes.h> +#include <epoxy/egl.h> + 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); |