xref: /openbmc/qemu/include/ui/shader.h (revision 896e1a050a0d333b1f0ec0768cc64e26c5d0d104)
1*896e1a05SGerd Hoffmann #ifndef QEMU_SHADER_H
2*896e1a05SGerd Hoffmann #define QEMU_SHADER_H
3*896e1a05SGerd Hoffmann 
4dcf30025SGerd Hoffmann #include <epoxy/gl.h>
5985e1c9bSGerd Hoffmann 
6cd2bc889SGerd Hoffmann void qemu_gl_run_texture_blit(GLint texture_blit_prog);
7cd2bc889SGerd Hoffmann 
8985e1c9bSGerd Hoffmann GLuint qemu_gl_create_compile_shader(GLenum type, const GLchar *src);
9985e1c9bSGerd Hoffmann GLuint qemu_gl_create_link_program(GLuint vert, GLuint frag);
10985e1c9bSGerd Hoffmann GLuint qemu_gl_create_compile_link_program(const GLchar *vert_src,
11985e1c9bSGerd Hoffmann                                            const GLchar *frag_src);
12*896e1a05SGerd Hoffmann 
13*896e1a05SGerd Hoffmann #endif /* QEMU_SHADER_H */
14