diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-11-25 23:59:23 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-11-25 23:59:23 +0200 |
commit | 8d6fc26bb982c5ecb7dbe4c20d51dec47f82abbf (patch) | |
tree | 60e7fca2028093bf454f0d62bd96b40c3e4ab7a4 /libvo/gl_common.h | |
parent | 9fae75b81ce2eb475db7652083b388e704833a72 (diff) | |
parent | 3215ec05fe27b1e07c863aadf4402c5bd6dbec33 (diff) | |
download | mpv-8d6fc26bb982c5ecb7dbe4c20d51dec47f82abbf.tar.bz2 mpv-8d6fc26bb982c5ecb7dbe4c20d51dec47f82abbf.tar.xz |
Merge branch 'screenshot' (early part)
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 2 |
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); |