Lines Matching refs:comp
225 xa_composite_check_accelerated(const struct xa_composite *comp)
227 struct xa_picture *src_pic = comp->src;
228 struct xa_picture *mask_pic = comp->mask;
232 !xa_is_filter_accelerated(comp->mask)) {
240 if (!blend_for_op(&blend, comp->op, comp->src, comp->mask, comp->dst))
254 const struct xa_composite *comp)
259 if (!blend_for_op(&blend_opt, comp->op, comp->src, comp->mask, comp->dst))
379 bind_shaders(struct xa_context *ctx, const struct xa_composite *comp)
383 struct xa_picture *src_pic = comp->src;
384 struct xa_picture *mask_pic = comp->mask;
385 struct xa_picture *dst_pic = comp->dst;
447 const struct xa_composite *comp)
454 struct xa_picture *src_pic = comp->src;
455 struct xa_picture *mask_pic = comp->mask;
514 const struct xa_composite *comp)
516 struct xa_surface *dst_srf = comp->dst->srf;
526 ret = bind_composite_blend_state(ctx, comp);
529 ret = bind_shaders(ctx, comp);
532 bind_samplers(ctx, comp);
538 ctx->comp = comp;
554 const struct xa_composite *comp = ctx->comp;
561 if (comp->src->has_transform)
562 src_matrix = comp->src->transform;
563 if (comp->mask && comp->mask->has_transform)
564 mask_matrix = comp->mask->transform;
576 ctx->comp = NULL;