2015-05-11 13:25:23 +03:00
|
|
|
#ifndef QEMU_SHADER_H
|
|
|
|
#define QEMU_SHADER_H
|
|
|
|
|
2015-05-11 13:24:43 +03:00
|
|
|
#include <epoxy/gl.h>
|
2015-04-24 08:48:45 +03:00
|
|
|
|
2015-07-10 15:40:01 +03: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 13:40:23 +03:00
|
|
|
|
2015-04-24 08:48:45 +03: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 13:25:23 +03:00
|
|
|
|
|
|
|
#endif /* QEMU_SHADER_H */
|