shader.h (c9003eb4662f44c61be9c8d7d5c9d4a02d58b560) | shader.h (46e19e149f3b129a22c440caba853188df67deab) |
---|---|
1#ifndef QEMU_SHADER_H 2#define QEMU_SHADER_H 3 4#include <epoxy/gl.h> 5 | 1#ifndef QEMU_SHADER_H 2#define QEMU_SHADER_H 3 4#include <epoxy/gl.h> 5 |
6GLuint qemu_gl_init_texture_blit(GLint texture_blit_prog); 7void qemu_gl_run_texture_blit(GLint texture_blit_prog, 8 GLint texture_blit_vao); | 6typedef struct QemuGLShader QemuGLShader; |
9 | 7 |
10GLuint qemu_gl_create_compile_shader(GLenum type, const GLchar *src); 11GLuint qemu_gl_create_link_program(GLuint vert, GLuint frag); 12GLuint qemu_gl_create_compile_link_program(const GLchar *vert_src, 13 const GLchar *frag_src); | 8void qemu_gl_run_texture_blit(QemuGLShader *gls); |
14 | 9 |
10QemuGLShader *qemu_gl_init_shader(void); 11void qemu_gl_fini_shader(QemuGLShader *gls); 12 |
|
15#endif /* QEMU_SHADER_H */ | 13#endif /* QEMU_SHADER_H */ |