From c3f0a511a725c7b3d3d7d93b1955aaaa2bb32f0d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 3 Nov 1999 17:27:05 +0000 Subject: new texture image processing --- src/mesa/main/image.h | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/image.h') diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h index 3fd2ca8b33..80e5ea7c3f 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 -- cgit v1.2.3