summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-11-03 17:27:05 +0000
committerBrian Paul <[email protected]>1999-11-03 17:27:05 +0000
commitc3f0a511a725c7b3d3d7d93b1955aaaa2bb32f0d (patch)
treeb2f6738deb8128a3306be60ef6b840e31f1173e6 /src/mesa/main/image.h
parentd51b2c99d5097e1b45d1fa91af45d6f4303f8c3c (diff)
new texture image processing
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r--src/mesa/main/image.h29
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