mirror of
https://github.com/qemu/qemu.git
synced 2025-08-02 12:45:00 +00:00

Helper functions to compile, link and run opengl shader programs. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
10 lines
347 B
C
10 lines
347 B
C
#ifdef CONFIG_OPENGL
|
|
# include <GLES2/gl2.h>
|
|
# include <GLES2/gl2ext.h>
|
|
#endif
|
|
|
|
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);
|