/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_blend.c | 86 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()
|
D | lp_setup.c | 694 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()
|
D | lp_state_fs.c | 1741 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() 2126 …blend_color = lp_build_swizzle_aos_n(gallivm, blend_color, swizzle, TGSI_NUM_CHANNELS, row_type.le… in generate_unswizzled_blend() 2129 …blend_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()
|
D | lp_context.h | 73 struct pipe_blend_color blend_color; member
|
D | lp_setup.h | 117 const struct pipe_blend_color *blend_color );
|
D | lp_setup_context.h | 149 } blend_color; member
|
D | lp_state_derived.c | 227 &llvmpipe->blend_color); in llvmpipe_update_derived()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_blend.c | 70 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()
|
D | sp_context.h | 77 struct pipe_blend_color blend_color; member
|
D | sp_quad_blend.c | 939 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/ |
D | svga_state_rss.c | 115 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()
|
D | svga_pipe_blend.c | 386 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/ |
D | vc5_emit.c | 493 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()
|
D | vc5_state.c | 55 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/ |
D | etnaviv_blend.c | 147 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()
|
D | etnaviv_context.h | 158 struct compiled_blend_color blend_color; member
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 506 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()
|
D | vc4_state.c | 51 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()
|
D | vc4_uniforms.c | 302 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/ |
D | fd2_emit.c | 321 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/ |
D | freedreno_state.c | 50 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/ |
D | si_hw_context.c | 249 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/ |
D | i915_state.c | 197 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()
|
D | i915_state_dynamic.c | 143 const float *color = i915->blend_color.color; in upload_BLENDCOLOR()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_context.h | 128 struct pipe_blend_color blend_color;
|