diff options
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r-- | src/mesa/main/image.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h index 3fd2ca8b338..80e5ea7c3fc 100644 --- a/src/mesa/main/image.h +++ b/src/mesa/main/image.h @@ -1,4 +1,4 @@ -/* $Id: image.h,v 1.1 1999/08/19 00:55:41 jtg Exp $ */ +/* $Id: image.h,v 1.2 1999/11/03 17:27:05 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -106,4 +106,31 @@ extern GLboolean gl_image_error_test( GLcontext *ctx, const char *msg ); +/* + * New (3.3) functions + */ + + +extern void +_mesa_unpack_ubyte_color_span( const GLcontext *ctx, + GLuint n, GLenum dstFormat, GLubyte dest[], + GLenum srcFormat, GLenum srcType, + const GLvoid *source, + const struct gl_pixelstore_attrib *unpacking, + GLboolean applyTransferOps ); + + +extern void +_mesa_unpack_index_span( const GLcontext *ctx, GLuint n, + GLenum dstType, GLvoid *dest, + GLenum srcType, const GLvoid *source, + const struct gl_pixelstore_attrib *unpacking, + GLboolean applyTransferOps ); + +extern void * +_mesa_unpack_image( GLsizei width, GLsizei height, GLsizei depth, + GLenum format, GLenum type, const GLvoid *pixels, + const struct gl_pixelstore_attrib *unpack ); + + #endif |