diff options
author | Brian Paul <[email protected]> | 2000-11-28 00:07:51 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-11-28 00:07:51 +0000 |
commit | 45015e4d79d63183f6d9c4e4fad655921e07b0ab (patch) | |
tree | d467c862463f01c1ea0e27c12b6bf9a31d02cab5 /src/mesa/main/pixel.h | |
parent | 4304790e3ea6e8ba953fb53e4304777894358a93 (diff) |
Pass scale and bias values to _mesa_scale_and_bias_rgba().
Implemented post-convolution scale and bias operation.
Diffstat (limited to 'src/mesa/main/pixel.h')
-rw-r--r-- | src/mesa/main/pixel.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/main/pixel.h b/src/mesa/main/pixel.h index 2ff5a4ac6b3..db6dd78ffdb 100644 --- a/src/mesa/main/pixel.h +++ b/src/mesa/main/pixel.h @@ -1,4 +1,4 @@ -/* $Id: pixel.h,v 1.7 2000/11/22 07:32:17 joukj Exp $ */ +/* $Id: pixel.h,v 1.8 2000/11/28 00:07:51 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -77,8 +77,11 @@ _mesa_PixelZoom( GLfloat xfactor, GLfloat yfactor ); */ extern void -_mesa_scale_and_bias_rgba(const GLcontext *ctx, GLuint n, GLfloat rgba[][4]); - +_mesa_scale_and_bias_rgba(const GLcontext *ctx, 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]); |