Home
last modified time | relevance | path

Searched refs:blend (Results 51 - 75 of 328) sorted by relevance

12345678910>>...14

/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_state_dynamic.c95 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 Dpanvk_vX_pipeline.c139 &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 Dfd2_blend.h41 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 Dfd2_emit.c191 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 Dfd3_blend.h45 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 Dfd4_blend.h46 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 Detnaviv_blend.c59 * - 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 Detnaviv_blend.h47 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 Dpsintrp.c418 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 Dfd5_blend.h49 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 Dst_cb_clear.c263 /* 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 Des3fDrawBuffersIndexedTests.cpp21 * \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 DCanvas_drawPatch.cpp18 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 Dr600_state.c47 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 Dfreedreno_state.h54 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 DCombFilter.h26 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 Dsvcfftl.h46 (*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 Dapng_image_player.cpp168 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 Dxa_renderer.c413 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 Daf_aexciter.c43 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 Dvf_colorkey.c39 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 Dtri.c68 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 Dgraw_util.h151 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 Dquad-sample.c358 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 Dtri-instanced.c293 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()

Completed in 19 milliseconds

12345678910>>...14