Lines Matching refs:blend
290 struct pipe_blend_state blend;
307 memset(&blend, 0, sizeof blend);
309 blend.independent_blend_enable = 0;
310 blend.rt[0].blend_enable = 0;
311 blend.rt[0].rgb_func = PIPE_BLEND_ADD;
312 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE;
313 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ONE;
314 blend.rt[0].alpha_func = PIPE_BLEND_ADD;
315 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE;
316 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ONE;
317 blend.logicop_enable = 0;
318 blend.logicop_func = PIPE_LOGICOP_CLEAR;
320 blend.rt[0].colormask = PIPE_MASK_RGBA;
321 blend.dither = 0;
322 zscan->blend = zscan->pipe->create_blend_state(zscan->pipe, &blend);
323 if (!zscan->blend)
352 zscan->pipe->delete_blend_state(zscan->pipe, zscan->blend);
369 zscan->pipe->delete_blend_state(zscan->pipe, zscan->blend);
605 zscan->pipe->bind_blend_state(zscan->pipe, zscan->blend);