diff options
author | wm4 <wm4@nowhere> | 2012-09-28 21:25:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-16 07:26:30 +0200 |
commit | 3c9c1790fee177cc9c9661475746a92ab6ce9bea (patch) | |
tree | 9939309bb9341f2684ab1fd9e2793a230369a674 /libvo/gl_common.h | |
parent | ffb7a2fe17af204635db6694b5b49b6368be91e6 (diff) | |
download | mpv-3c9c1790fee177cc9c9661475746a92ab6ce9bea.tar.bz2 mpv-3c9c1790fee177cc9c9661475746a92ab6ce9bea.tar.xz |
vo_gl3: support RGBA EOSD
This also adds support for multiple EOSD renderers. This capability is
unused yet, but important for the following commits.
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h index f42caa8fd1..fa4b6dbf25 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -60,6 +60,8 @@ int glCreatePPMTex(GL *gl, GLenum target, GLenum fmt, GLint filter, void glUploadTex(GL *gl, GLenum target, GLenum format, GLenum type, const void *dataptr, int stride, int x, int y, int w, int h, int slice); +void glClearTex(GL *gl, GLenum target, GLenum format, GLenum type, + int x, int y, int w, int h, uint8_t val, void **scratch); void glDownloadTex(GL *gl, GLenum target, GLenum format, GLenum type, void *dataptr, int stride); void glDrawTex(GL *gl, GLfloat x, GLfloat y, GLfloat w, GLfloat h, @@ -351,6 +353,7 @@ struct GL { void (GLAPIENTRY *Uniform1f)(GLint, GLfloat); void (GLAPIENTRY *Uniform3f)(GLint, GLfloat, GLfloat, GLfloat); + void (GLAPIENTRY *Uniform4f)(GLint, GLfloat, GLfloat, GLfloat, GLfloat); void (GLAPIENTRY *Uniform1i)(GLint, GLint); void (GLAPIENTRY *UniformMatrix3fv)(GLint, GLsizei, GLboolean, const GLfloat *); |