Lines Matching refs:blend

114    void *blend[PIPE_MASK_RGBA+1][2]; /**< blend state with writemask */
166 struct pipe_blend_state blend;
225 /* blend state objects */
226 memset(&blend, 0, sizeof(blend));
230 memset(&blend.rt[0], 0, sizeof(blend.rt[0]));
231 blend.rt[0].colormask = i;
233 blend.rt[0].blend_enable = 1;
234 blend.rt[0].rgb_func = PIPE_BLEND_ADD;
235 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_SRC_ALPHA;
236 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_INV_SRC_ALPHA;
237 blend.rt[0].alpha_func = PIPE_BLEND_ADD;
238 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_SRC_ALPHA;
239 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_INV_SRC_ALPHA;
241 ctx->blend[i][j] = pipe->create_blend_state(pipe, &blend);
362 return ctx->blend[0][0];
496 pipe->delete_blend_state(pipe, ctx->blend[i][j]);
1482 /* Return an existing blend state. */
1484 return ctx->blend[0][0];
1493 struct pipe_blend_state blend = {0};
1496 blend.independent_blend_enable = 1;
1500 blend.rt[i].colormask = PIPE_MASK_RGBA;
1501 blend.max_rt = i;
1505 ctx->blend_clear[index] = pipe->create_blend_state(pipe, &blend);
2098 pipe->bind_blend_state(pipe, ctx->blend[0][0]);
2112 pipe->bind_blend_state(pipe, ctx->blend[0][0]);
2128 pipe->bind_blend_state(pipe, ctx->blend[0][0]);
2139 pipe->bind_blend_state(pipe, ctx->blend[colormask][alpha_blend]);
2309 pipe->bind_blend_state(pipe, ctx->blend[0][0]);
2315 pipe->bind_blend_state(pipe, ctx->blend[PIPE_MASK_RGBA][0]);
2403 pipe->bind_blend_state(pipe, ctx->blend[PIPE_MASK_RGBA][0]);
2472 pipe->bind_blend_state(pipe, ctx->blend[0][0]);
2549 pipe->bind_blend_state(pipe, cbsurf ? ctx->blend[PIPE_MASK_RGBA][0] :
2550 ctx->blend[0][0]);
2746 : ctx->blend[PIPE_MASK_RGBA][0]);
2810 pipe->bind_blend_state(pipe, ctx->blend[PIPE_MASK_RGBA][0]);
2906 pipe->bind_blend_state(pipe, ctx->blend[PIPE_MASK_RGBA][0]);