summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-04-18 14:32:10 +0000
committerBrian Paul <[email protected]>2000-04-18 14:32:10 +0000
commitc397a6b28351ad97f996f913cfe9266b9f9096f6 (patch)
treef4b09d9b724ba8bd539b5a3ce89c481b4ebf0a24 /src/mesa/main/image.h
parent7b5f09c7ded33ef41955f4c9fa3e35d4c34f313a (diff)
more color table and imaging work
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h
index 500fa7e3eb7..27ca7dbe93e 100644
--- a/src/mesa/main/image.h
+++ b/src/mesa/main/image.h
@@ -1,4 +1,4 @@
-/* $Id: image.h,v 1.7 2000/03/21 16:09:38 brianp Exp $ */
+/* $Id: image.h,v 1.8 2000/04/18 14:32:10 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -80,7 +80,7 @@ _mesa_pack_polygon_stipple( const GLuint pattern[32], GLubyte *dest,
extern void
-_mesa_pack_rgba_span( const GLcontext *ctx,
+_mesa_pack_rgba_span( GLcontext *ctx,
GLuint n, CONST GLubyte rgba[][4],
GLenum format, GLenum type, GLvoid *dest,
const struct gl_pixelstore_attrib *packing,
@@ -88,7 +88,7 @@ _mesa_pack_rgba_span( const GLcontext *ctx,
extern void
-_mesa_unpack_ubyte_color_span( const GLcontext *ctx,
+_mesa_unpack_ubyte_color_span( GLcontext *ctx,
GLuint n, GLenum dstFormat, GLubyte dest[],
GLenum srcFormat, GLenum srcType,
const GLvoid *source,
@@ -97,6 +97,15 @@ _mesa_unpack_ubyte_color_span( const GLcontext *ctx,
extern void
+_mesa_unpack_float_color_span( GLcontext *ctx,
+ GLuint n, GLenum dstFormat, GLfloat 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,