Lines Matching full:blend
571 struct pipe_blend_state blend;
573 memset(&blend, 0, sizeof blend);
574 blend.independent_blend_enable = 0;
577 blend.rt[0].blend_enable = 1;
578 blend.rt[0].rgb_src_factor = BlendFactorToPipe(blend_state->blend_factor_source_color);
579 blend.rt[0].rgb_dst_factor = BlendFactorToPipe(blend_state->blend_factor_destination_color);
580 blend.rt[0].alpha_src_factor = BlendFactorToPipe(blend_state->blend_factor_source_alpha);
581 blend.rt[0].alpha_dst_factor = BlendFactorToPipe(blend_state->blend_factor_destination_alpha);
582 blend.rt[0].rgb_func = BlendEquationToPipe(blend_state->blend_equation_color);
583 blend.rt[0].alpha_func = BlendEquationToPipe(blend_state->blend_equation_alpha);
585 blend.rt[0].blend_enable = 0;
588 blend.logicop_enable = 0;
589 blend.logicop_func = PIPE_LOGICOP_CLEAR;
590 blend.rt[0].colormask = PIPE_MASK_RGBA;
591 blend.dither = 0;
593 return context->create_blend_state(context, &blend);
641 void *blend;
661 blend = BlenderToPipe(context, blend_state);
664 vl_compositor_set_layer_blend(cstate, 0, blend, false);
671 context->delete_blend_state(context, blend);
700 void *blend;
720 blend = BlenderToPipe(context, blend_state);
723 vl_compositor_set_layer_blend(cstate, 0, blend, false);
730 context->delete_blend_state(context, blend);