Lines Matching full:blend
102 const struct pipe_blend_state *blend)
107 unsigned eqRGB = blend->rt[0].rgb_func;
108 unsigned srcRGB = blend->rt[0].rgb_src_factor;
109 unsigned dstRGB = blend->rt[0].rgb_dst_factor;
111 unsigned eqA = blend->rt[0].alpha_func;
112 unsigned srcA = blend->rt[0].alpha_src_factor;
113 unsigned dstA = blend->rt[0].alpha_dst_factor;
142 LOGIC_OP_FUNC(i915_translate_logic_op(blend->logicop_func)));
144 if (blend->logicop_enable)
147 if (blend->dither)
151 if ((blend->rt[0].colormask & PIPE_MASK_R) == 0)
154 if ((blend->rt[0].colormask & PIPE_MASK_G) == 0)
157 if ((blend->rt[0].colormask & PIPE_MASK_B) == 0)
160 if ((blend->rt[0].colormask & PIPE_MASK_A) == 0)
163 if (blend->rt[0].blend_enable) {
164 unsigned funcRGB = blend->rt[0].rgb_func;
165 unsigned srcRGB = blend->rt[0].rgb_src_factor;
166 unsigned dstRGB = blend->rt[0].rgb_dst_factor;
178 void *blend)
182 if (i915->blend == blend)
185 i915->blend = (struct i915_blend_state*)blend;
191 static void i915_delete_blend_state(struct pipe_context *pipe, void *blend)
193 FREE(blend);