summaryrefslogtreecommitdiff
path: root/src/egl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl.h')
-rw-r--r--src/egl.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/egl.h b/src/egl.h
new file mode 100644
index 0000000..f97bd22
--- /dev/null
+++ b/src/egl.h
@@ -0,0 +1,17 @@
+#ifndef EGL_H
+#define EGL_H
+
+#include <epoxy/egl.h>
+
+struct client_state;
+struct egl {
+ EGLNativeWindowType window;
+ EGLDisplay display;
+ EGLContext context;
+ EGLSurface surface;
+};
+
+void egl_create_window(struct client_state *state);
+void egl_create_context(struct client_state *state);
+
+#endif /* EGL_H */