Lines Matching refs:GLfloat

43 _mesa_scale_and_bias_rgba(GLuint n, GLfloat rgba[][4],  in _mesa_scale_and_bias_rgba()
44 GLfloat rScale, GLfloat gScale, in _mesa_scale_and_bias_rgba()
45 GLfloat bScale, GLfloat aScale, in _mesa_scale_and_bias_rgba()
46 GLfloat rBias, GLfloat gBias, in _mesa_scale_and_bias_rgba()
47 GLfloat bBias, GLfloat aBias) in _mesa_scale_and_bias_rgba()
80 _mesa_map_rgba( const struct gl_context *ctx, GLuint n, GLfloat rgba[][4] ) in _mesa_map_rgba()
82 const GLfloat rscale = (GLfloat) (ctx->PixelMaps.RtoR.Size - 1); in _mesa_map_rgba()
83 const GLfloat gscale = (GLfloat) (ctx->PixelMaps.GtoG.Size - 1); in _mesa_map_rgba()
84 const GLfloat bscale = (GLfloat) (ctx->PixelMaps.BtoB.Size - 1); in _mesa_map_rgba()
85 const GLfloat ascale = (GLfloat) (ctx->PixelMaps.AtoA.Size - 1); in _mesa_map_rgba()
86 const GLfloat *rMap = ctx->PixelMaps.RtoR.Map; in _mesa_map_rgba()
87 const GLfloat *gMap = ctx->PixelMaps.GtoG.Map; in _mesa_map_rgba()
88 const GLfloat *bMap = ctx->PixelMaps.BtoB.Map; in _mesa_map_rgba()
89 const GLfloat *aMap = ctx->PixelMaps.AtoA.Map; in _mesa_map_rgba()
92 GLfloat r = CLAMP(rgba[i][RCOMP], 0.0F, 1.0F); in _mesa_map_rgba()
93 GLfloat g = CLAMP(rgba[i][GCOMP], 0.0F, 1.0F); in _mesa_map_rgba()
94 GLfloat b = CLAMP(rgba[i][BCOMP], 0.0F, 1.0F); in _mesa_map_rgba()
95 GLfloat a = CLAMP(rgba[i][ACOMP], 0.0F, 1.0F); in _mesa_map_rgba()
108 const GLuint index[], GLfloat rgba[][4] ) in _mesa_map_ci_to_rgba()
114 const GLfloat *rMap = ctx->PixelMaps.ItoR.Map; in _mesa_map_ci_to_rgba()
115 const GLfloat *gMap = ctx->PixelMaps.ItoG.Map; in _mesa_map_ci_to_rgba()
116 const GLfloat *bMap = ctx->PixelMaps.ItoB.Map; in _mesa_map_ci_to_rgba()
117 const GLfloat *aMap = ctx->PixelMaps.ItoA.Map; in _mesa_map_ci_to_rgba()
130 GLfloat depthValues[]) in _mesa_scale_and_bias_depth()
132 const GLfloat scale = ctx->Pixel.DepthScale; in _mesa_scale_and_bias_depth()
133 const GLfloat bias = ctx->Pixel.DepthBias; in _mesa_scale_and_bias_depth()
136 GLfloat d = depthValues[i] * scale + bias; in _mesa_scale_and_bias_depth()
163 GLuint n, GLfloat rgba[][4]) in _mesa_apply_rgba_transfer_ops()