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