Merge remote-tracking branch 'remotes/weil/tags/pull-wxx-20151130' into staging
[qemu/ar7.git] / include / ui / shader.h
blobf7d86188bf12ec156e17edd268ffd312e7b556b1
1 #ifndef QEMU_SHADER_H
2 #define QEMU_SHADER_H
4 #include <epoxy/gl.h>
6 GLuint qemu_gl_init_texture_blit(GLint texture_blit_prog);
7 void qemu_gl_run_texture_blit(GLint texture_blit_prog,
8 GLint texture_blit_vao);
10 GLuint qemu_gl_create_compile_shader(GLenum type, const GLchar *src);
11 GLuint qemu_gl_create_link_program(GLuint vert, GLuint frag);
12 GLuint qemu_gl_create_compile_link_program(const GLchar *vert_src,
13 const GLchar *frag_src);
15 #endif /* QEMU_SHADER_H */