Home
last modified time | relevance | path

Searched refs:alpha_func (Results 1 – 25 of 30) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend.c61 lp_build_blend_func_reverse(unsigned rgb_func, unsigned alpha_func) in lp_build_blend_func_reverse() argument
63 if(rgb_func == alpha_func) in lp_build_blend_func_reverse()
65 if(rgb_func == PIPE_BLEND_SUBTRACT && alpha_func == PIPE_BLEND_REVERSE_SUBTRACT) in lp_build_blend_func_reverse()
67 if(rgb_func == PIPE_BLEND_REVERSE_SUBTRACT && alpha_func == PIPE_BLEND_SUBTRACT) in lp_build_blend_func_reverse()
Dlp_test_blend.c108 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false", in write_tsv_row()
117 util_dump_blend_func(blend->rt[0].alpha_func, TRUE), in write_tsv_row()
144 "alpha_func", util_dump_blend_func(blend->rt[0].alpha_func, TRUE), in dump_blend_type()
435 switch (blend->rt[0].alpha_func) { in compute_blend_ref()
747 const unsigned *alpha_func; in test_all() local
756 for(alpha_func = blend_funcs; alpha_func < &blend_funcs[num_funcs]; ++alpha_func) { in test_all()
773 blend.rt[0].alpha_func = *alpha_func; in test_all()
801 const unsigned *alpha_func; in test_some() local
812 alpha_func = &blend_funcs[rand() % num_funcs]; in test_some()
833 blend.rt[0].alpha_func = *alpha_func; in test_some()
Dlp_bld_blend.h102 unsigned alpha_func);
Dlp_bld_blend_aos.c308 if(state->rgb_func != state->alpha_func && alpha_swizzle != UTIL_FORMAT_SWIZZLE_NONE) { in lp_build_blend_aos()
312 state->alpha_func, in lp_build_blend_aos()
Dlp_bld_blend_soa.c245 unsigned func = i < 3 ? blend->rt[rt].rgb_func : blend->rt[rt].alpha_func; in lp_build_blend_soa()
318 unsigned prev_func = j < 3 ? blend->rt[rt].rgb_func : blend->rt[rt].alpha_func; in lp_build_blend_soa()
Dlp_state_fs.c1164 …printf("blend.alpha_func = %s\n", util_dump_blend_func (key->blend.rt[0].alpha_func, TRUE)); in dump_fs_variant_key()
1635 blend_rt->alpha_func = blend_rt->rgb_func; in make_variant_key()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state_inlines.h172 static INLINE uint32_t r300_translate_alpha_function(int alpha_func) in r300_translate_alpha_function() argument
174 switch (alpha_func) { in r300_translate_alpha_function()
192 fprintf(stderr, "r300: Unknown alpha function %d", alpha_func); in r300_translate_alpha_function()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h260 unsigned alpha_func:3; /**< PIPE_BLEND_x */ member
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_state.c110 cso->rt[i].alpha_func != cso->rt[r].alpha_func || in nvc0_blend_state_create()
150 SB_DATA (so, nvgl_blend_eqn(cso->rt[i].alpha_func)); in nvc0_blend_state_create()
161 SB_DATA (so, nvgl_blend_eqn(cso->rt[r].alpha_func)); in nvc0_blend_state_create()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c233 blend->rt[i].alpha_func = in update_blend()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blend.c187 blend->rt[i].blendeq_alpha = svga_translate_blend_func(templ->rt[0].alpha_func); in svga_create_blend_state()
/external/mesa3d/src/gallium/docs/source/cso/
Dblend.rst105 alpha_func
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c811 switch (softpipe->blend->rt[blend_index].alpha_func) { in blend_quad()
1239 blend->rt[0].rgb_func == blend->rt[0].alpha_func) in choose_blend_quad()
1241 if (blend->rt[0].alpha_func == PIPE_BLEND_ADD) { in choose_blend_quad()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c181 blend.rt[0].alpha_func = PIPE_BLEND_ADD; in vl_matrix_filter_init()
Dvl_median_filter.c267 blend.rt[0].alpha_func = PIPE_BLEND_ADD; in vl_median_filter_init()
Dvl_zscan.c286 blend.rt[0].alpha_func = PIPE_BLEND_ADD; in init_state()
Dvl_mc.c402 blend.rt[0].alpha_func = PIPE_BLEND_ADD; in init_pipe_state()
Dvl_idct.c532 blend.rt[0].alpha_func = PIPE_BLEND_ADD; in init_state()
/external/mesa3d/src/gallium/drivers/trace/
Dtr_dump_state.c361 trace_dump_member(uint, state, alpha_func); in trace_dump_rt_blend_state()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_state.c103 SB_DATA (so, (nvgl_blend_eqn(cso->rt[0].alpha_func) << 16) | in nv30_blend_state_create()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_state.c155 SB_DATA (so, nvgl_blend_eqn(cso->rt[i].alpha_func)); in nv50_blend_state_create()
170 SB_DATA (so, nvgl_blend_eqn(cso->rt[0].alpha_func)); in nv50_blend_state_create()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Doutput.c583 blend.rt[0].alpha_func = BlendEquationToPipe(blend_state->blend_equation_alpha); in BlenderToPipe()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dump_state.c534 util_dump_member(stream, enum_blend_func, state, alpha_func); in util_dump_rt_blend_state()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c110 unsigned eqA = blend->rt[0].alpha_func; in i915_create_blend_state()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c753 unsigned eqA = state->rt[j].alpha_func; in r600_create_blend_state_mode()
2656 blend.rt[i].alpha_func = PIPE_BLEND_ADD; in r600_create_resolve_blend()

12