Lines Matching refs:blend
150 const struct pipe_blend_state *blend)
155 unsigned eqRGB = blend->rt[0].rgb_func;
156 unsigned srcRGB = blend->rt[0].rgb_src_factor;
157 unsigned dstRGB = blend->rt[0].rgb_dst_factor;
159 unsigned eqA = blend->rt[0].alpha_func;
160 unsigned srcA = blend->rt[0].alpha_src_factor;
161 unsigned dstA = blend->rt[0].alpha_dst_factor;
183 LOGIC_OP_FUNC(i915_translate_logic_op(blend->logicop_func)));
185 if (blend->logicop_enable)
188 if (blend->dither)
192 if ((blend->rt[0].colormask & PIPE_MASK_R) == 0)
195 if ((blend->rt[0].colormask & PIPE_MASK_G) == 0)
198 if ((blend->rt[0].colormask & PIPE_MASK_B) == 0)
201 if ((blend->rt[0].colormask & PIPE_MASK_A) == 0)
204 if (blend->rt[0].blend_enable) {
205 unsigned funcRGB = blend->rt[0].rgb_func;
206 unsigned srcRGB = blend->rt[0].rgb_src_factor;
207 unsigned dstRGB = blend->rt[0].rgb_dst_factor;
230 i915_bind_blend_state(struct pipe_context *pipe, void *blend)
234 if (i915->blend == blend)
237 i915->blend = (struct i915_blend_state *)blend;
243 i915_delete_blend_state(struct pipe_context *pipe, void *blend)
245 FREE(blend);