summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-28 21:25:26 +0200
committerwm4 <wm4@nowhere>2012-10-16 07:26:30 +0200
commit3c9c1790fee177cc9c9661475746a92ab6ce9bea (patch)
tree9939309bb9341f2684ab1fd9e2793a230369a674 /libvo/gl_common.h
parentffb7a2fe17af204635db6694b5b49b6368be91e6 (diff)
downloadmpv-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.h3
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 *);