summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixel.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-10-30 08:20:57 +0000
committerBrian Paul <[email protected]>1999-10-30 08:20:57 +0000
commit3c14ec9b553f88a4cd4be5d8a564b54bbe81d2b4 (patch)
tree9aa09649c1319067844bcd5cfb1c2bb9b1b1f60b /src/mesa/main/pixel.h
parent8de4a387776f6f9a2fbdccdfec33230c350b9b6e (diff)
added a few more scale/bias/lookup functions (for future use)
Diffstat (limited to 'src/mesa/main/pixel.h')
-rw-r--r--src/mesa/main/pixel.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mesa/main/pixel.h b/src/mesa/main/pixel.h
index c592d068539..d14b011dc7e 100644
--- a/src/mesa/main/pixel.h
+++ b/src/mesa/main/pixel.h
@@ -1,4 +1,4 @@
-/* $Id: pixel.h,v 1.1 1999/08/19 00:55:41 jtg Exp $ */
+/* $Id: pixel.h,v 1.2 1999/10/30 08:20:57 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -70,9 +70,17 @@ extern void gl_scale_and_bias_rgba( const GLcontext *ctx, GLuint n,
GLubyte rgba[][4] );
+extern void gl_scale_and_bias_rgba_float( const GLcontext *ctx, GLuint n,
+ GLfloat rgba[][4] );
+
+
extern void gl_map_rgba( const GLcontext *ctx, GLuint n, GLubyte rgba[][4] );
+extern void gl_map_rgba_float( const GLcontext *ctx, GLuint n,
+ GLfloat rgba[][4] );
+
+
extern void gl_map_color( const GLcontext *ctx, GLuint n,
GLfloat red[], GLfloat green[],
GLfloat blue[], GLfloat alpha[] );
@@ -90,6 +98,11 @@ extern void gl_map_ci_to_rgba( const GLcontext *ctx,
GLubyte rgba[][4] );
+extern void gl_map_ci_to_rgba_float( const GLcontext *ctx,
+ GLuint n, const GLuint index[],
+ GLfloat rgba[][4] );
+
+
extern void gl_map_ci8_to_rgba( const GLcontext *ctx,
GLuint n, const GLubyte index[],
GLubyte rgba[][4] );