summaryrefslogtreecommitdiffstats
path: root/qemu/include/ui/shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/include/ui/shader.h')
-rw-r--r--qemu/include/ui/shader.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/qemu/include/ui/shader.h b/qemu/include/ui/shader.h
new file mode 100644
index 000000000..8509596ac
--- /dev/null
+++ b/qemu/include/ui/shader.h
@@ -0,0 +1,13 @@
+#ifndef QEMU_SHADER_H
+#define QEMU_SHADER_H
+
+#include <epoxy/gl.h>
+
+void qemu_gl_run_texture_blit(GLint texture_blit_prog);
+
+GLuint qemu_gl_create_compile_shader(GLenum type, const GLchar *src);
+GLuint qemu_gl_create_link_program(GLuint vert, GLuint frag);
+GLuint qemu_gl_create_compile_link_program(const GLchar *vert_src,
+ const GLchar *frag_src);
+
+#endif /* QEMU_SHADER_H */