summaryrefslogtreecommitdiff
path: root/include/ui/shader.h
blob: 1ff926c9e126c3070015786dd71994a74bfbf82c (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifdef CONFIG_OPENGL
# include <GLES2/gl2.h>
# include <GLES2/gl2ext.h>
#endif

void qemu_gl_run_texture_blit(GLint texture_blit_prog);

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);