summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2011-12-17 20:47:15 +0100
committerUoti Urpala <uau@mplayer2.org>2012-04-26 21:03:10 +0300
commit768e06b0ac3d11e5383b2e6e90f7b99719ba5876 (patch)
treef1063122f34c9d429f1da3a75acc9b3e87805a01 /libvo/gl_common.h
parentd12b9b611aa7030047e6556714e859dd2bfd38fc (diff)
downloadmpv-768e06b0ac3d11e5383b2e6e90f7b99719ba5876.tar.bz2
mpv-768e06b0ac3d11e5383b2e6e90f7b99719ba5876.tar.xz
vo_corevideo: restructure this video output
Restructure this video output to be similar to vo_gl, even if simpler and less feature complete (for example it's still missing EOSD support). Ideally, it should act as a decent fallback in the case where something breaks in the OSX support of vo_gl. Here's a summary of what changed: * Remove the shared buffer code since it wasn't using any function from the CoreVideo API. Moreover, its presence in vo_corevideo was forcing the non-GUI related code to perform more image copies than necessary. Equivalent shared-buffer functionality will be added in a separate new VO in the next commit (this means OSX GUIs will need to specify a different VO). * Clean up the code to conform a bit more to the mplayer2 conventions. Enforce 80 column wrapping, use a private struct for file variables, use the new libvo api. * Add OSD rendering using OpenGL instead of writing directly on the video image data. * Simplify the logic for the rendering function when dealing with panscan. * Add VOCTRL_REDRAW_FRAME support. * Add colormatrix support by using the built-in API provided by CoreVideo.
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index 8e3294f441..b02e1d2b8d 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -452,6 +452,7 @@ struct GL {
void (GLAPIENTRY *TexParameterf)(GLenum, GLenum, GLfloat);
void (GLAPIENTRY *TexParameterfv)(GLenum, GLenum, const GLfloat *);
void (GLAPIENTRY *TexCoord2f)(GLfloat, GLfloat);
+ void (GLAPIENTRY *TexCoord2fv)(const GLfloat *);
void (GLAPIENTRY *Vertex2f)(GLfloat, GLfloat);
void (GLAPIENTRY *Vertex3f)(GLfloat, GLfloat, GLfloat);
void (GLAPIENTRY *Normal3f)(GLfloat, GLfloat, GLfloat);