gallium: change remaining util functions to use cso sampler views
[mesa/mesa-lb.git] / progs / util / readtex.h
blob6c9a3828d3826faa7a49bdfe17bd99efe2adad6b
1 /* readtex.h */
3 #ifndef READTEX_H
4 #define READTEX_H
7 #include <GL/gl.h>
10 extern GLboolean
11 LoadRGBMipmaps( const char *imageFile, GLint intFormat );
14 extern GLboolean
15 LoadRGBMipmaps2( const char *imageFile, GLenum target,
16 GLint intFormat, GLint *width, GLint *height );
19 extern GLubyte *
20 LoadRGBImage( const char *imageFile,
21 GLint *width, GLint *height, GLenum *format );
23 extern GLushort *
24 LoadYUVImage( const char *imageFile, GLint *width, GLint *height );
26 #endif