Lines Matching refs:Color
134 if (ctx->Color.DitherFlag)
156 if (ctx->Color.AlphaEnabled)
159 nv04->ctrl[0] |= get_comparison_op(ctx->Color.AlphaFunc) << 8 |
160 FLOAT_TO_UBYTE(ctx->Color.AlphaRef);
162 /* Color mask. */
163 if (ctx->Color.ColorMask[0][RCOMP])
165 if (ctx->Color.ColorMask[0][GCOMP])
167 if (ctx->Color.ColorMask[0][BCOMP])
169 if (ctx->Color.ColorMask[0][ACOMP])
205 nv04->blend |= get_blend_func(ctx->Color.Blend[0].DstRGB) << 28 |
206 get_blend_func(ctx->Color.Blend[0].SrcRGB) << 24;
208 if (ctx->Color.BlendEnabled)
217 /* Secondary color */
224 nv04->fog = pack_rgba_f(MESA_FORMAT_ARGB8888, ctx->Fog.Color);