console-gl: add opengl rendering helper functions
[qemu/ar7.git] / include / ui / shader.h
blob1ff926c9e126c3070015786dd71994a74bfbf82c
1 #ifdef CONFIG_OPENGL
2 # include <GLES2/gl2.h>
3 # include <GLES2/gl2ext.h>
4 #endif
6 void qemu_gl_run_texture_blit(GLint texture_blit_prog);
8 GLuint qemu_gl_create_compile_shader(GLenum type, const GLchar *src);
9 GLuint qemu_gl_create_link_program(GLuint vert, GLuint frag);
10 GLuint qemu_gl_create_compile_link_program(const GLchar *vert_src,
11 const GLchar *frag_src);