Home
last modified time | relevance | path

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

12

/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.c1720 LLVMValueRef blend_color; in generate_unswizzled_blend() local
2060 blend_color = lp_jit_context_f_blend_color(gallivm, context_ptr); in generate_unswizzled_blend()
2061 blend_color = LLVMBuildPointerCast(builder, blend_color, in generate_unswizzled_blend()
2063 blend_color = LLVMBuildLoad(builder, LLVMBuildGEP(builder, blend_color, in generate_unswizzled_blend()
2067 lp_build_conv(gallivm, fs_type, blend_type, &blend_color, 1, &blend_color, 1); in generate_unswizzled_blend()
2095 blend_color = lp_build_clamp(&f32_bld, blend_color, f32_bld.zero, f32_bld.one); in generate_unswizzled_blend()
2099 …blend_alpha = lp_build_extract_broadcast(gallivm, blend_type, row_type, blend_color, lp_build_cons… in generate_unswizzled_blend()
2105blend_color = lp_build_swizzle_aos_n(gallivm, blend_color, swizzle, TGSI_NUM_CHANNELS, row_type.le… in generate_unswizzled_blend()
2108blend_color = lp_build_swizzle_aos_n(gallivm, blend_color, swizzle, dst_channels, row_type.length); in generate_unswizzled_blend()
2320 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.c226 &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.c116 uint32 r = float_to_ubyte(svga->curr.blend_color.color[0]); in emit_rss_vgpu9()
117 uint32 g = float_to_ubyte(svga->curr.blend_color.color[1]); in emit_rss_vgpu9()
118 uint32 b = float_to_ubyte(svga->curr.blend_color.color[2]); in emit_rss_vgpu9()
119 uint32 a = float_to_ubyte(svga->curr.blend_color.color[3]); in emit_rss_vgpu9()
365 blend_factor[3] = svga->curr.blend_color.color[3]; in emit_rss_vgpu10()
368 blend_factor[0] = svga->curr.blend_color.color[0]; in emit_rss_vgpu10()
369 blend_factor[1] = svga->curr.blend_color.color[1]; in emit_rss_vgpu10()
370 blend_factor[2] = svga->curr.blend_color.color[2]; in emit_rss_vgpu10()
371 blend_factor[3] = svga->curr.blend_color.color[3]; in emit_rss_vgpu10()
Dsvga_pipe_blend.c385 const struct pipe_blend_color *blend_color ) in svga_set_blend_color() argument
389 svga->curr.blend_color = *blend_color; in svga_set_blend_color()
/external/mesa3d/src/gallium/drivers/vc4/
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.c301 CLAMP(vc4->blend_color.f.color[uinfo->contents[i] - in vc4_write_uniforms()
314 color |= (vc4->blend_color.ub[format_swiz[i]] << in vc4_write_uniforms()
322 uint8_t a = vc4->blend_color.ub[3]; in vc4_write_uniforms()
Dvc4_nir_lower_blend.c556 nir_ssa_def *blend_color[4]; in vc4_nir_blend_pipeline() local
557 vc4_do_blending_f(c, b, blend_color, src_color, dst_color); in vc4_nir_blend_pipeline()
561 blend_color[i] = vc4_nir_srgb_encode(b, blend_color[i]); in vc4_nir_blend_pipeline()
563 packed_color = vc4_nir_swizzle_and_pack(c, b, blend_color); in vc4_nir_blend_pipeline()
/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()
Dfreedreno_context.h238 struct pipe_blend_color blend_color; member
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_context.h147 struct compiled_blend_color blend_color; member
/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()
Di915_context.h242 struct pipe_blend_color blend_color; member
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.h118 struct pipe_blend_color blend_color;
Dswr_state.cpp146 ctx->blend_color = *color; in swr_set_blend_color()
1380 blendState.constantColor[0] = ctx->blend_color.color[0]; in swr_update_derived()
1381 blendState.constantColor[1] = ctx->blend_color.color[1]; in swr_update_derived()
1382 blendState.constantColor[2] = ctx->blend_color.color[2]; in swr_update_derived()
1383 blendState.constantColor[3] = ctx->blend_color.color[3]; in swr_update_derived()
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_pipe.h172 struct pipe_blend_color blend_color; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_hw_context.c221 si_mark_atom_dirty(ctx, &ctx->blend_color.atom); in si_begin_new_cs()

12