Home | History | Annotate | Download | only in i965

Lines Matching refs:Color

51    if (nr_draw_buffers == 0 && ctx->Color.AlphaEnabled)
72 * "Per-fragment operations that require floating-point color
75 * colors are written to an integer color buffer."
83 if (ctx->Color.ColorLogicOpEnabled) {
95 intel_translate_logic_op(ctx->Color.LogicOp);
97 } else if (ctx->Color.BlendEnabled & (1 << b) && !integer) {
98 GLenum eqRGB = ctx->Color.Blend[b].EquationRGB;
99 GLenum eqA = ctx->Color.Blend[b].EquationA;
100 GLenum srcRGB = ctx->Color.Blend[b].SrcRGB;
101 GLenum dstRGB = ctx->Color.Blend[b].DstRGB;
102 GLenum srcA = ctx->Color.Blend[b].SrcA;
103 GLenum dstA = ctx->Color.Blend[b].DstA;
127 /* See section 8.1.6 "Pre-Blend Color Clamping" of the
134 * "RESOLVED: For fixed-point color buffers, the inputs and
136 * floating-point color buffers, no clamping occurs."
140 * post-blend color clamping are either ignored, or any are
149 if (ctx->Color.AlphaEnabled && !integer) {
152 intel_translate_compare_func(ctx->Color.AlphaFunc);
157 if (ctx->Color.DitherFlag && !integer) {
163 blend[b].blend1.write_disable_r = !ctx->Color.ColorMask[b][0];
164 blend[b].blend1.write_disable_g = !ctx->Color.ColorMask[b][1];
165 blend[b].blend1.write_disable_b = !ctx->Color.ColorMask[b][2];
166 blend[b].blend1.write_disable_a = !ctx->Color.ColorMask[b][3];
182 if (ctx->Color.Blend[b]._UsesDualSrc)
222 UNCLAMPED_FLOAT_TO_UBYTE(cc->cc1.alpha_ref_fi.ui, ctx->Color.AlphaRef);
229 cc->constant_r = ctx->Color.BlendColorUnclamped[0];
230 cc->constant_g = ctx->Color.BlendColorUnclamped[1];
231 cc->constant_b = ctx->Color.BlendColorUnclamped[2];
232 cc->constant_a = ctx->Color.BlendColorUnclamped[3];