Lines Matching full:blend
101 const struct pipe_blend_state *blend)
106 unsigned eqRGB = blend->rt[0].rgb_func;
107 unsigned srcRGB = blend->rt[0].rgb_src_factor;
108 unsigned dstRGB = blend->rt[0].rgb_dst_factor;
110 unsigned eqA = blend->rt[0].alpha_func;
111 unsigned srcA = blend->rt[0].alpha_src_factor;
112 unsigned dstA = blend->rt[0].alpha_dst_factor;
141 LOGIC_OP_FUNC(i915_translate_logic_op(blend->logicop_func)));
143 if (blend->logicop_enable)
146 if (blend->dither)
150 if ((blend->rt[0].colormask & PIPE_MASK_R) == 0)
153 if ((blend->rt[0].colormask & PIPE_MASK_G) == 0)
156 if ((blend->rt[0].colormask & PIPE_MASK_B) == 0)
159 if ((blend->rt[0].colormask & PIPE_MASK_A) == 0)
162 if (blend->rt[0].blend_enable) {
163 unsigned funcRGB = blend->rt[0].rgb_func;
164 unsigned srcRGB = blend->rt[0].rgb_src_factor;
165 unsigned dstRGB = blend->rt[0].rgb_dst_factor;
177 void *blend)
181 if (i915->blend == blend)
184 i915->blend = (struct i915_blend_state*)blend;
190 static void i915_delete_blend_state(struct pipe_context *pipe, void *blend)
192 FREE(blend);