2015-05-11 10:25:23 +00:00
|
|
|
#ifndef QEMU_SHADER_H
|
|
|
|
#define QEMU_SHADER_H
|
|
|
|
|
2015-05-11 10:24:43 +00:00
|
|
|
#include <epoxy/gl.h>
|
2015-04-24 05:48:45 +00:00
|
|
|
|
2015-07-10 12:40:01 +00:00
|
|
|
GLuint qemu_gl_init_texture_blit(GLint texture_blit_prog);
|
|
|
|
void qemu_gl_run_texture_blit(GLint texture_blit_prog,
|
|
|
|
GLint texture_blit_vao);
|
2015-01-09 10:40:23 +00:00
|
|
|
|
2015-04-24 05:48:45 +00:00
|
|
|
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);
|
2015-05-11 10:25:23 +00:00
|
|
|
|
|
|
|
#endif /* QEMU_SHADER_H */
|