Home
last modified time | relevance | path

Searched refs:blend_color (Results 1 – 25 of 56) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_blend.c86 const struct pipe_blend_color *blend_color) in llvmpipe_set_blend_color() argument
90 if (!blend_color) in llvmpipe_set_blend_color()
93 if(memcmp(&llvmpipe->blend_color, blend_color, sizeof *blend_color) == 0) in llvmpipe_set_blend_color()
98 memcpy(&llvmpipe->blend_color, blend_color, sizeof *blend_color); in llvmpipe_set_blend_color()
Dlp_setup.c694 const struct pipe_blend_color *blend_color ) in lp_setup_set_blend_color() argument
698 assert(blend_color); in lp_setup_set_blend_color()
700 if(memcmp(&setup->blend_color.current, blend_color, sizeof *blend_color) != 0) { in lp_setup_set_blend_color()
701 memcpy(&setup->blend_color.current, blend_color, sizeof *blend_color); in lp_setup_set_blend_color()
1059 fstored[i] = setup->blend_color.current.color[i % 4]; in try_update_scene_state()
1064 uint8_t c = float_to_ubyte(setup->blend_color.current.color[i]); in try_update_scene_state()
1069 setup->blend_color.stored = stored; in try_update_scene_state()
Dlp_state_fs.c1741 LLVMValueRef blend_color; in generate_unswizzled_blend() local
2081 blend_color = lp_jit_context_f_blend_color(gallivm, context_ptr); in generate_unswizzled_blend()
2082 blend_color = LLVMBuildPointerCast(builder, blend_color, in generate_unswizzled_blend()
2084 blend_color = LLVMBuildLoad(builder, LLVMBuildGEP(builder, blend_color, in generate_unswizzled_blend()
2088 lp_build_conv(gallivm, fs_type, blend_type, &blend_color, 1, &blend_color, 1); in generate_unswizzled_blend()
2116 blend_color = lp_build_clamp(&f32_bld, blend_color, f32_bld.zero, f32_bld.one); in generate_unswizzled_blend()
2120 …blend_alpha = lp_build_extract_broadcast(gallivm, blend_type, row_type, blend_color, lp_build_cons… in generate_unswizzled_blend()
2126blend_color = lp_build_swizzle_aos_n(gallivm, blend_color, swizzle, TGSI_NUM_CHANNELS, row_type.le… in generate_unswizzled_blend()
2129blend_color = lp_build_swizzle_aos_n(gallivm, blend_color, swizzle, dst_channels, row_type.length); in generate_unswizzled_blend()
2341 blend_color, in generate_unswizzled_blend()
Dlp_context.h73 struct pipe_blend_color blend_color; member
Dlp_setup.h117 const struct pipe_blend_color *blend_color );
Dlp_setup_context.h149 } blend_color; member
Dlp_state_derived.c227 &llvmpipe->blend_color); in llvmpipe_update_derived()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_blend.c70 const struct pipe_blend_color *blend_color) in softpipe_set_blend_color() argument
77 softpipe->blend_color = *blend_color; in softpipe_set_blend_color()
82 CLAMP(blend_color->color[i], 0.0f, 1.0f); in softpipe_set_blend_color()
Dsp_context.h77 struct pipe_blend_color blend_color; member
Dsp_quad_blend.c939 const float *blend_color; in blend_fallback() local
944 blend_color = softpipe->blend_color_clamped.color; in blend_fallback()
946 blend_color = softpipe->blend_color.color; in blend_fallback()
993 blend_quad(qs, quadColor, quadColor2, dest, blend_color, blend_buf); in blend_fallback()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_rss.c115 uint32 r = float_to_ubyte(svga->curr.blend_color.color[0]); in emit_rss_vgpu9()
116 uint32 g = float_to_ubyte(svga->curr.blend_color.color[1]); in emit_rss_vgpu9()
117 uint32 b = float_to_ubyte(svga->curr.blend_color.color[2]); in emit_rss_vgpu9()
118 uint32 a = float_to_ubyte(svga->curr.blend_color.color[3]); in emit_rss_vgpu9()
372 blend_factor[3] = svga->curr.blend_color.color[3]; in emit_rss_vgpu10()
375 blend_factor[0] = svga->curr.blend_color.color[0]; in emit_rss_vgpu10()
376 blend_factor[1] = svga->curr.blend_color.color[1]; in emit_rss_vgpu10()
377 blend_factor[2] = svga->curr.blend_color.color[2]; in emit_rss_vgpu10()
378 blend_factor[3] = svga->curr.blend_color.color[3]; in emit_rss_vgpu10()
Dsvga_pipe_blend.c386 const struct pipe_blend_color *blend_color ) in svga_set_blend_color() argument
390 svga->curr.blend_color = *blend_color; in svga_set_blend_color()
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_emit.c493 vc5->blend_color.hf[2] : in v3dX()
494 vc5->blend_color.hf[0]); in v3dX()
495 colour.green_f16 = vc5->blend_color.hf[1]; in v3dX()
497 vc5->blend_color.hf[0] : in v3dX()
498 vc5->blend_color.hf[2]); in v3dX()
499 colour.alpha_f16 = vc5->blend_color.hf[3]; in v3dX()
Dvc5_state.c55 const struct pipe_blend_color *blend_color) in vc5_set_blend_color() argument
58 vc5->blend_color.f = *blend_color; in vc5_set_blend_color()
60 vc5->blend_color.hf[i] = in vc5_set_blend_color()
61 util_float_to_half(blend_color->color[i]); in vc5_set_blend_color()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blend.c147 struct compiled_blend_color *cs = &ctx->blend_color; in etna_set_blend_color()
158 struct compiled_blend_color *cs = &ctx->blend_color; in etna_update_blend_color()
Detnaviv_context.h158 struct compiled_blend_color blend_color; member
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c506 nir_ssa_def *blend_color[4]; in vc4_nir_blend_pipeline() local
507 vc4_do_blending_f(c, b, blend_color, src_color, dst_color); in vc4_nir_blend_pipeline()
511 blend_color[i] = vc4_nir_srgb_encode(b, blend_color[i]); in vc4_nir_blend_pipeline()
513 packed_color = vc4_nir_swizzle_and_pack(c, b, blend_color); in vc4_nir_blend_pipeline()
Dvc4_state.c51 const struct pipe_blend_color *blend_color) in vc4_set_blend_color() argument
54 vc4->blend_color.f = *blend_color; in vc4_set_blend_color()
56 vc4->blend_color.ub[i] = float_to_ubyte(blend_color->color[i]); in vc4_set_blend_color()
Dvc4_uniforms.c302 CLAMP(vc4->blend_color.f.color[uinfo->contents[i] - in vc4_write_uniforms()
315 color |= (vc4->blend_color.ub[format_swiz[i]] << in vc4_write_uniforms()
323 uint8_t a = vc4->blend_color.ub[3]; in vc4_write_uniforms()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_emit.c321 OUT_RING(ring, float_to_ubyte(ctx->blend_color.color[0])); in fd2_emit_state()
322 OUT_RING(ring, float_to_ubyte(ctx->blend_color.color[1])); in fd2_emit_state()
323 OUT_RING(ring, float_to_ubyte(ctx->blend_color.color[2])); in fd2_emit_state()
324 OUT_RING(ring, float_to_ubyte(ctx->blend_color.color[3])); in fd2_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.c50 const struct pipe_blend_color *blend_color) in fd_set_blend_color() argument
53 ctx->blend_color = *blend_color; in fd_set_blend_color()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_hw_context.c249 if (!has_clear_state || ctx->blend_color.any_nonzeros) in si_begin_new_cs()
250 si_mark_atom_dirty(ctx, &ctx->blend_color.atom); in si_begin_new_cs()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c197 const struct pipe_blend_color *blend_color ) in i915_set_blend_color() argument
201 if (!blend_color) in i915_set_blend_color()
204 i915->blend_color = *blend_color; in i915_set_blend_color()
Di915_state_dynamic.c143 const float *color = i915->blend_color.color; in upload_BLENDCOLOR()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.h128 struct pipe_blend_color blend_color;

123