summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-10-06 20:46:01 +0200
committerUoti Urpala <uau@mplayer2.org>2011-11-25 23:56:28 +0200
commit28eaf11cf3b220871b97d9ba40d5058a84bcba09 (patch)
tree15f452ea32fcdbf788147694aa581530066da122 /libvo/gl_common.h
parent0440460d0cb1a65cc890508279b287c97db38a78 (diff)
downloadmpv-28eaf11cf3b220871b97d9ba40d5058a84bcba09.tar.bz2
mpv-28eaf11cf3b220871b97d9ba40d5058a84bcba09.tar.xz
vo_gl: implement screenshots
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index a56248403a..d1d034b99a 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -256,6 +256,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 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,
GLfloat tx, GLfloat ty, GLfloat tw, GLfloat th,
int sx, int sy, int rect_tex, int is_yv12, int flip);