These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / include / ui / shader.h
1 #ifndef QEMU_SHADER_H
2 #define QEMU_SHADER_H
3
4 #include <epoxy/gl.h>
5
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);
9
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);
14
15 #endif /* QEMU_SHADER_H */