summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/pixel.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-06-09 14:32:27 -0600
committerBrian Paul <[email protected]>2008-06-09 14:32:27 -0600
commit74c82ebbb399a274dcfb5e82d3471dee59bd5183 (patch)
tree83a297a6a4c46249c78f71b35fe82cefa439f513 /src/mesa/main/pixel.h
parent5f91007f996d0b7e3233f221a6b0056203e356d2 (diff)
mesa: refactor: move pixel map/scale/bias code into image.c
pixel.c is just the API-related code now.
Diffstat (limited to 'src/mesa/main/pixel.h')
-rw-r--r--src/mesa/main/pixel.h60
1 files changed, 8 insertions, 52 deletions
diff --git a/src/mesa/main/pixel.h b/src/mesa/main/pixel.h
index 05bddf5ccf6..cb6c5262a39 100644
--- a/src/mesa/main/pixel.h
+++ b/src/mesa/main/pixel.h
@@ -1,13 +1,8 @@
-/**
- * \file pixel.h
- * Pixel operations.
- */
-
/*
* Mesa 3-D graphics library
- * Version: 6.5.2
+ * Version: 7.1
*
- * Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -28,6 +23,12 @@
*/
+/**
+ * \file pixel.h
+ * Pixel operations.
+ */
+
+
#ifndef PIXEL_H
#define PIXEL_H
@@ -68,51 +69,6 @@ _mesa_PixelZoom( GLfloat xfactor, GLfloat yfactor );
/*@}*/
-/** \name Pixel processing functions */
-/*@{*/
-
-extern void
-_mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4],
- GLfloat rScale, GLfloat gScale,
- GLfloat bScale, GLfloat aScale,
- GLfloat rBias, GLfloat gBias,
- GLfloat bBias, GLfloat aBias);
-
-extern void
-_mesa_map_rgba(const GLcontext *ctx, GLuint n, GLfloat rgba[][4]);
-
-
-extern void
-_mesa_transform_rgba(const GLcontext *ctx, GLuint n, GLfloat rgba[][4]);
-
-
-extern void
-_mesa_lookup_rgba_float(const struct gl_color_table *table,
- GLuint n, GLfloat rgba[][4]);
-
-extern void
-_mesa_lookup_rgba_ubyte(const struct gl_color_table *table,
- GLuint n, GLubyte rgba[][4]);
-
-
-extern void
-_mesa_map_ci_to_rgba(const GLcontext *ctx,
- GLuint n, const GLuint index[], GLfloat rgba[][4]);
-
-
-extern void
-_mesa_map_ci8_to_rgba8(const GLcontext *ctx, GLuint n, const GLubyte index[],
- GLubyte rgba[][4]);
-
-
-extern void
-_mesa_scale_and_bias_depth(const GLcontext *ctx, GLuint n,
- GLfloat depthValues[]);
-
-extern void
-_mesa_scale_and_bias_depth_uint(const GLcontext *ctx, GLuint n,
- GLuint depthValues[]);
-
extern void
_mesa_update_pixel( GLcontext *ctx, GLuint newstate );