use BCOPY macro on FreeBSD
[mesa.git] / src / mesa / main / pixel.h
index c592d068539de1a35b3cbadd328e99a21b4588c7..841c98258f083546c95facbd3e90ec3ddc65fd64 100644 (file)
@@ -1,8 +1,8 @@
-/* $Id: pixel.h,v 1.1 1999/08/19 00:55:41 jtg Exp $ */
+/* $Id: pixel.h,v 1.3 1999/11/11 01:22:27 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
- * Version:  3.1
+ * Version:  3.3
  * 
  * Copyright (C) 1999  Brian Paul   All Rights Reserved.
  * 
@@ -25,9 +25,6 @@
  */
 
 
-
-
-
 #ifndef PIXEL_H
 #define PIXEL_H
 
  */
 
 
-extern void gl_GetPixelMapfv( GLcontext *ctx, GLenum map, GLfloat *values );
+extern void
+_mesa_GetPixelMapfv( GLenum map, GLfloat *values );
+
+extern void
+_mesa_GetPixelMapuiv( GLenum map, GLuint *values );
+
+extern void
+_mesa_GetPixelMapusv( GLenum map, GLushort *values );
+
+extern void
+_mesa_PixelMapfv( GLenum map, GLint mapsize, const GLfloat *values );
+
+extern void
+_mesa_PixelMapuiv(GLenum map, GLint mapsize, const GLuint *values );
 
-extern void gl_GetPixelMapuiv( GLcontext *ctx, GLenum map, GLuint *values );
+extern void
+_mesa_PixelMapusv(GLenum map, GLint mapsize, const GLushort *values );
 
-extern void gl_GetPixelMapusv( GLcontext *ctx, GLenum map, GLushort *values );
+extern void
+_mesa_PixelStoref( GLenum pname, GLfloat param );
 
+extern void
+_mesa_PixelStorei( GLenum pname, GLint param );
 
-extern void gl_PixelMapfv( GLcontext *ctx,
-                           GLenum map, GLint mapsize, const GLfloat *values );
+extern void
+_mesa_PixelTransferf( GLenum pname, GLfloat param );
 
-extern void gl_PixelStorei( GLcontext *ctx, GLenum pname, GLint param );
+extern void
+_mesa_PixelTransferi( GLenum pname, GLint param );
 
-extern void gl_PixelTransferf( GLcontext *ctx, GLenum pname, GLfloat param );
+extern void
+_mesa_PixelZoom( GLfloat xfactor, GLfloat yfactor );
 
-extern void gl_PixelZoom( GLcontext *ctx, GLfloat xfactor, GLfloat yfactor );
 
 
 /*
@@ -70,9 +85,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 +113,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] );