| /third_party/mesa3d/src/gallium/drivers/i915/ |
| H A D | i915_state_dynamic.c | 95 modes4 |= i915->blend->modes4; in upload_MODES4() 166 if (i915->blend) { in upload_IAB() 169 iab |= i915->blend->iab_alpha_in_g; in upload_IAB() 171 iab |= i915->blend->iab_alpha_is_x; in upload_IAB() 173 iab |= i915->blend->iab; in upload_IAB()
|
| /third_party/mesa3d/src/panfrost/vulkan/ |
| H A D | panvk_vX_pipeline.c | 139 &pipeline->blend.state, in panvk_pipeline_builder_compile_shaders() 220 bo_size += pan_size(BLEND) * MAX2(pipeline->blend.state.rt_count, 1); in panvk_pipeline_builder_alloc_static_state_bo() 304 for (unsigned rt = 0; rt < pipeline->blend.state.rt_count; rt++) { in panvk_pipeline_builder_init_shaders() 312 for (unsigned rt = 0; rt < MAX2(pipeline->blend.state.rt_count, 1); rt++) { in panvk_pipeline_builder_init_shaders() 314 &pipeline->blend.bd_template[rt]); in panvk_pipeline_builder_init_shaders() 443 default: unreachable("Invalid blend op"); in translate_blend_op() 480 default: unreachable("Invalid blend factor"); in translate_blend_factor() 511 /* LogicOp requires a blend shader */ in blend_needs_lowering() 521 /* v6 doesn't support blend constants in FF blend equation in blend_needs_lowering() 710 const struct pan_blend_state *blend = &pipeline->blend.state; panvk_fs_required() local [all...] |
| /third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
| H A D | fd2_blend.h | 41 fd2_blend_stateobj(struct pipe_blend_state *blend) in fd2_blend_stateobj() argument 43 return (struct fd2_blend_stateobj *)blend; in fd2_blend_stateobj()
|
| H A D | fd2_emit.c | 191 struct fd2_blend_stateobj *blend = fd2_blend_stateobj(ctx->blend); in fd2_emit_state_binning() local 222 OUT_RING(ring, blend->rb_blendcontrol); in fd2_emit_state_binning() 226 OUT_RING(ring, blend->rb_colormask); in fd2_emit_state_binning() 237 struct fd2_blend_stateobj *blend = fd2_blend_stateobj(ctx->blend); in fd2_emit_state() local 375 OUT_RING(ring, zsa->rb_colorcontrol | blend->rb_colorcontrol); in fd2_emit_state() 381 OUT_RING(ring, blend->rb_blendcontrol); in fd2_emit_state() 385 OUT_RING(ring, blend->rb_colormask); in fd2_emit_state()
|
| /third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
| H A D | fd3_blend.h | 45 fd3_blend_stateobj(struct pipe_blend_state *blend) in fd3_blend_stateobj() argument 47 return (struct fd3_blend_stateobj *)blend; in fd3_blend_stateobj()
|
| /third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
| H A D | fd4_blend.h | 46 fd4_blend_stateobj(struct pipe_blend_state *blend) in fd4_blend_stateobj() argument 48 return (struct fd4_blend_stateobj *)blend; in fd4_blend_stateobj()
|
| /third_party/mesa3d/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_blend.c | 59 * - blend enabled in blend state in etna_blend_state_create() 128 struct pipe_blend_state *pblend = ctx->blend; in etna_update_blend() 129 struct etna_blend_state *blend = etna_blend_state(pblend); in etna_update_blend() local 151 bool full_overwrite = !pfb->cbufs[0] || ((blend->fo_allowed && in etna_update_blend() 153 blend->PE_COLOR_FORMAT = in etna_update_blend()
|
| H A D | etnaviv_blend.h | 47 etna_blend_state(struct pipe_blend_state *blend) in etna_blend_state() argument 49 return (struct etna_blend_state *)blend; in etna_blend_state()
|
| /third_party/skia/third_party/externals/freetype/src/psaux/ |
| H A D | psintrp.c | 418 cf2_doBlend( const CFF_Blend blend, in cf2_doBlend() argument 425 CF2_UInt numOperands = (CF2_UInt)( numBlends * blend->lenBV ); in cf2_doBlend() 433 const CF2_Fixed* weight = &blend->BV[1]; in cf2_doBlend() 439 for ( j = 1; j < blend->lenBV; j++ ) in cf2_doBlend() 716 if ( font->blend.usedBV ) in cf2_interpT2CharString() 718 /* vsindex not allowed after blend */ in cf2_interpT2CharString() 737 FT_TRACE4(( " blend\n" )); in cf2_interpT2CharString() 742 /* do we have a `blend' op in a non-variant font? */ in cf2_interpT2CharString() 743 if ( !font->blend.font ) in cf2_interpT2CharString() 749 /* check cached blend vecto in cf2_interpT2CharString() 1829 PS_Blend blend = decoder->blend; cf2_interpT2CharString() local 1903 PS_Blend blend = decoder->blend; cf2_interpT2CharString() local 2013 PS_Blend blend = decoder->blend; cf2_interpT2CharString() local 2035 PS_Blend blend = decoder->blend; cf2_interpT2CharString() local [all...] |
| /third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_blend.h | 49 fd5_blend_stateobj(struct pipe_blend_state *blend) in fd5_blend_stateobj() argument 51 return (struct fd5_blend_stateobj *)blend; in fd5_blend_stateobj()
|
| /third_party/mesa3d/src/mesa/state_tracker/ |
| H A D | st_cb_clear.c | 263 /* blend state: RGBA masking */ in clear_with_quad() 265 struct pipe_blend_state blend; in clear_with_quad() local 266 memset(&blend, 0, sizeof(blend)); in clear_with_quad() 272 blend.independent_blend_enable = num_buffers > 1; in clear_with_quad() 273 blend.max_rt = num_buffers - 1; in clear_with_quad() 279 blend.rt[i].colormask = GET_COLORMASK(ctx->Color.ColorMask, i); in clear_with_quad() 283 blend.dither = 1; in clear_with_quad() 285 cso_set_blend(cso, &blend); in clear_with_quad()
|
| /third_party/vk-gl-cts/modules/gles3/functional/ |
| H A D | es3fDrawBuffersIndexedTests.cpp | 21 * \brief Indexed blend operation tests (GL_EXT_draw_buffers_indexed) 192 void setCommonBlendState (const glw::Functions& gl, const BlendState& blend) in setCommonBlendState() argument 194 if (blend.enableBlend) in setCommonBlendState() 196 if (*blend.enableBlend) in setCommonBlendState() 202 if (blend.colorMask) in setCommonBlendState() 204 const BVec4& mask = *blend.colorMask; in setCommonBlendState() 209 if (blend.blendEq) in setCommonBlendState() 211 const Either<BlendEq, SeparateBlendEq>& blendEq = *blend.blendEq; in setCommonBlendState() 221 if (blend.blendFunc) in setCommonBlendState() 223 const Either<BlendFunc, SeparateBlendFunc>& blendFunc = *blend in setCommonBlendState() 236 setIndexedBlendState(const glw::Functions& gl, const BlendState& blend, deUint32 index) setIndexedBlendState() argument 1072 logBlendState(TestLog& log, const BlendState& blend) logBlendState() argument [all...] |
| /third_party/skia/docs/examples/ |
| H A D | Canvas_drawPatch.cpp | 18 for (auto blend : { SkBlendMode::kSrcOver, SkBlendMode::kModulate, SkBlendMode::kXor } ) { in REG_FIDDLE() 19 canvas->drawPatch(cubics, colors, texCoords, blend, paint); in REG_FIDDLE()
|
| /third_party/mesa3d/src/gallium/drivers/r600/ |
| H A D | r600_state.c | 47 R600_ERR("Unknown blend function %d\n", blend_func); in r600_translate_blend_function() 96 R600_ERR("Bad blend factor %d not supported!\n", blend_fact); in r600_translate_blend_factor() 325 struct r600_blend_state *blend = CALLOC_STRUCT(r600_blend_state); in r600_create_blend_state_mode() local 327 if (!blend) { in r600_create_blend_state_mode() 331 r600_init_command_buffer(&blend->buffer, 20); in r600_create_blend_state_mode() 332 r600_init_command_buffer(&blend->buffer_no_blend, 20); in r600_create_blend_state_mode() 365 /* only MRT0 has dual src blend */ in r600_create_blend_state_mode() 366 blend->dual_src_blend = util_blend_state_is_dual(state, 0); in r600_create_blend_state_mode() 367 blend->cb_target_mask = target_mask; in r600_create_blend_state_mode() 368 blend in r600_create_blend_state_mode() 2737 struct pipe_blend_state blend; r600_create_resolve_blend() local 2757 struct pipe_blend_state blend; r700_create_resolve_blend() local 2767 struct pipe_blend_state blend; r600_create_decompress_blend() local [all...] |
| /third_party/mesa3d/src/gallium/drivers/freedreno/ |
| H A D | freedreno_state.h | 54 return ctx->blend && ctx->blend->rt[n].blend_enable;
|
| /third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/effects/ |
| H A D | CombFilter.h | 26 CombFilter(float blend, float feedForward, float feedBack, int delay) : in CombFilter() argument 27 kBlend(blend), in CombFilter()
|
| /third_party/skia/third_party/externals/freetype/include/freetype/internal/services/ |
| H A D | svcfftl.h | 46 (*FT_Blend_Check_Vector_Func)( CFF_Blend blend, 52 (*FT_Blend_Build_Vector_Func)( CFF_Blend blend,
|
| /foundation/arkui/ace_engine/frameworks/core/image/apng/ |
| H A D | apng_image_player.cpp | 168 frame.blend = ImageBlendOver; in GetApngAllFrames() 172 frame.blend = ImageBlendNone; in GetApngAllFrames() 177 if (frame.blend == ImageBlendNone && frame.isFullSize) { in GetApngAllFrames() 362 if (frameInfo->blend == ImageBlendOver) { in BlendImage() 394 if (frameInfo->blend == ImageBlendOver) { in BlendImage() 477 if (frameInfo->blend == ImageBlendOver) { in GetImage() 514 if (frameInfo->blend == ImageBlendOver) { in GetImage() 543 if (frameInfo->blend == ImageBlendOver) { in GetImage() 592 if (frameInfo->blend == ImageBlendOver) { in GetImage() 624 if (frameInfo->blend in GetImage() [all...] |
| /third_party/mesa3d/src/gallium/frontends/xa/ |
| H A D | xa_renderer.c | 413 struct pipe_blend_state blend; in renderer_copy_prepare() local 415 memset(&blend, 0, sizeof(blend)); in renderer_copy_prepare() 416 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in renderer_copy_prepare() 417 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; in renderer_copy_prepare() 418 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; in renderer_copy_prepare() 419 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO; in renderer_copy_prepare() 420 blend.rt[0].colormask = PIPE_MASK_RGBA; in renderer_copy_prepare() 421 cso_set_blend(r->cso, &blend); in renderer_copy_prepare()
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | af_aexciter.c | 43 double blend; member 59 { "blend", "set blend harmonics", OFFSET(blend), AV_OPT_TYPE_DOUBLE, {.dbl=0}, -10, 10, A }, 81 double blend, double drive, in set_params() 88 p->rbdr = p->rdrive / (10.5 - blend) * 780.0 / 33.0; in set_params() 239 set_params(&s->cp[i], s->blend, s->drive, inlink->sample_rate, in config_input() 80 set_params(ChannelParams *p, double blend, double drive, double srate, double freq, double ceil) set_params() argument
|
| H A D | vf_colorkey.c | 39 float blend; member 76 const float iblend = 1.f / ctx->blend; \ 116 const float iblend = 1.f / ctx->blend; \ 221 { "blend", "set the colorkey key blend value", OFFSET(blend), AV_OPT_TYPE_FLOAT, { .dbl = 0.0 }, 0.0, 1.0, FLAGS }, 245 { "blend", "set the colorhold blend value", OFFSET(blend), AV_OPT_TYPE_FLOAT, { .dbl = 0.0 }, 0.0, 1.0, FLAGS },
|
| /third_party/mesa3d/src/gallium/tests/trivial/ |
| H A D | tri.c | 68 struct pipe_blend_state blend; member 146 memset(&p->blend, 0, sizeof(p->blend)); in init_prog() 147 p->blend.rt[0].colormask = PIPE_MASK_RGBA; in init_prog() 257 cso_set_blend(p->cso, &p->blend); in draw()
|
| /third_party/mesa3d/src/gallium/tests/graw/ |
| H A D | graw_util.h | 151 struct pipe_blend_state blend; in graw_util_default_state() local 153 memset(&blend, 0, sizeof blend); in graw_util_default_state() 154 blend.rt[0].colormask = PIPE_MASK_RGBA; in graw_util_default_state() 155 handle = info->ctx->create_blend_state(info->ctx, &blend); in graw_util_default_state()
|
| H A D | quad-sample.c | 358 struct pipe_blend_state blend; in init() local 360 memset(&blend, 0, sizeof blend); in init() 361 blend.rt[0].colormask = PIPE_MASK_RGBA; in init() 362 handle = ctx->create_blend_state(ctx, &blend); in init()
|
| H A D | tri-instanced.c | 293 struct pipe_blend_state blend; in init() local 295 memset(&blend, 0, sizeof blend); in init() 296 blend.rt[0].colormask = PIPE_MASK_RGBA; in init() 297 handle = ctx->create_blend_state(ctx, &blend); in init()
|