Mercurial > mplayer.hg
diff libvo/gl_common.h @ 16592:1bb2b2696451
support loading a texture from a PPM file
author | reimar |
---|---|
date | Sun, 25 Sep 2005 16:30:00 +0000 |
parents | 26b156d7a68d |
children | b3a9fb41f475 |
line wrap: on
line diff
--- a/libvo/gl_common.h Sun Sep 25 16:20:41 2005 +0000 +++ b/libvo/gl_common.h Sun Sep 25 16:30:00 2005 +0000 @@ -141,6 +141,8 @@ int glFmt2bpp(GLenum format, GLenum type); void glCreateClearTex(GLenum target, GLenum fmt, GLint filter, int w, int h, unsigned char val); +int glCreatePPMTex(GLenum target, GLenum fmt, GLint filter, + FILE *f, int *width, int *height, int *maxval); void glUploadTex(GLenum target, GLenum format, GLenum type, const char *data, int stride, int x, int y, int w, int h, int slice);