Home
last modified time | relevance | path

Searched refs:rgb_src (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_composite.c47 unsigned rgb_src : 8; /**< PIPE_BLENDFACTOR_x */ member
135 blend->rgb_src = xa_convert_blend_for_luminance(blend->rgb_src); in blend_for_op()
145 if (blend->rgb_src == PIPE_BLENDFACTOR_DST_ALPHA) in blend_for_op()
146 blend->rgb_src = PIPE_BLENDFACTOR_ONE; in blend_for_op()
147 else if (blend->rgb_src == PIPE_BLENDFACTOR_INV_DST_ALPHA) in blend_for_op()
148 blend->rgb_src = PIPE_BLENDFACTOR_ZERO; in blend_for_op()
244 if (blend.alpha_src && blend.rgb_src != PIPE_BLENDFACTOR_ZERO) { in xa_composite_check_accelerated()
268 blend.rt[0].rgb_src_factor = blend_opt.rgb_src; in bind_composite_blend_state()
269 blend.rt[0].alpha_src_factor = blend_opt.rgb_src; in bind_composite_blend_state()
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_composite.c20 unsigned rgb_src : 8; /**< PIPE_BLENDFACTOR_x */ member
93 if (blend->rgb_src == PIPE_BLENDFACTOR_DST_ALPHA) in blend_for_op()
94 blend->rgb_src = PIPE_BLENDFACTOR_ONE; in blend_for_op()
95 else if (blend->rgb_src == PIPE_BLENDFACTOR_INV_DST_ALPHA) in blend_for_op()
96 blend->rgb_src = PIPE_BLENDFACTOR_ZERO; in blend_for_op()
197 if (blend.alpha_src && blend.rgb_src != PIPE_BLENDFACTOR_ZERO) { in xorg_composite_accelerated()
224 blend.rt[0].rgb_src_factor = blend_opt.rgb_src; in bind_blend_state()
225 blend.rt[0].alpha_src_factor = blend_opt.rgb_src; in bind_blend_state()