Searched defs:blend (Results 101 - 125 of 223) sorted by relevance

123456789

/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state.c42 uint32_t blend[2], cmask[2]; local
62 blend[0] = cso->rt[0].blend_enable;
68 blend[1] = 0;
71 blend[1] |= cso->rt[i].blend_enable << i;
78 blend[1] = 0x0000000e * (blend[0] & 0x00000001);
87 SB_DATA (so, blend[1]);
91 if (blend[0] || blend[1]) {
93 SB_DATA (so, blend[
[all...]
H A Dnv30_state_validate.c295 PUSH_SPACE(push, nv30->blend->size);
296 PUSH_DATAp(push, nv30->blend->data, nv30->blend->size);
321 struct pipe_blend_state *blend = &nv30->blend->pipe; local
325 if (blend->alpha_to_one)
327 if (blend->alpha_to_coverage)
447 if (!nv30->blend)
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_state.h75 struct si_state_blend *blend; member in struct:si_state::__anon22602
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_context.c268 struct pipe_blend_state blend; local
270 memset(&blend, 0, sizeof(struct pipe_blend_state));
271 blend.rt[0].blend_enable = 0;
272 blend.rt[0].colormask = PIPE_MASK_RGBA;
274 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE;
275 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE;
276 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO;
277 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO;
279 cso_set_blend(ctx->cso, &blend);
/external/mesa3d/src/gallium/tests/graw/
H A Dgraw_util.h153 struct pipe_blend_state blend; local
155 memset(&blend, 0, sizeof blend);
156 blend.rt[0].colormask = PIPE_MASK_RGBA;
157 handle = info->ctx->create_blend_state(info->ctx, &blend);
H A Dquad-sample.c359 struct pipe_blend_state blend; local
361 memset(&blend, 0, sizeof blend);
362 blend.rt[0].colormask = PIPE_MASK_RGBA;
363 handle = ctx->create_blend_state(ctx, &blend);
H A Dshader-leak.c232 struct pipe_blend_state blend; local
234 memset(&blend, 0, sizeof blend);
235 blend.rt[0].colormask = PIPE_MASK_RGBA;
236 handle = ctx->create_blend_state(ctx, &blend);
H A Dtri-gs.c237 struct pipe_blend_state blend; local
239 memset(&blend, 0, sizeof blend);
240 blend.rt[0].colormask = PIPE_MASK_RGBA;
241 handle = ctx->create_blend_state(ctx, &blend);
H A Dtri-instanced.c288 struct pipe_blend_state blend; local
290 memset(&blend, 0, sizeof blend);
291 blend.rt[0].colormask = PIPE_MASK_RGBA;
292 handle = ctx->create_blend_state(ctx, &blend);
/external/mesa3d/src/gallium/tests/trivial/
H A Dquad-tex.c70 struct pipe_blend_state blend; member in struct:program
195 memset(&p->blend, 0, sizeof(p->blend));
196 p->blend.rt[0].colormask = PIPE_MASK_RGBA;
316 cso_set_blend(p->cso, &p->blend);
H A Dtri.c68 struct pipe_blend_state blend; member in struct:program
146 memset(&p->blend, 0, sizeof(p->blend));
147 p->blend.rt[0].colormask = PIPE_MASK_RGBA;
252 cso_set_blend(p->cso, &p->blend);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_blorp.h282 bool blend; member in struct:brw_blorp_blit_prog_key
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_clear.c229 /* blend state: RGBA masking */
231 struct pipe_blend_state blend; local
232 memset(&blend, 0, sizeof(blend));
233 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE;
234 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE;
235 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO;
236 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO;
239 blend.rt[0].colormask |= PIPE_MASK_R;
241 blend
[all...]
/external/skia/tests/
H A DBlitRowTest.cpp147 bool blend = (k & 2) != 0; local
148 if (gSrcRec[j].fSrc != 0 && blend) {
154 paint.setAlpha(blend ? 0x80 : 0xFF);
158 SkDebugf("--- src index %d dither %d blend %d\n", j, dither, blend);
/external/chromium_org/gpu/command_buffer/service/
H A Dcontext_state_autogen.h15 bool blend; member in struct:EnableFlags
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DLength.h236 Length blend(const Length& from, double progress) const function in struct:WebCore::Length
258 return Length(WebCore::blend(fromPercent, toPercent, progress), Percent);
263 return Length(WebCore::blend(fromValue, toValue, progress), resultType);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/
H A DFilterOperation.h73 virtual PassRefPtr<FilterOperation> blend(const FilterOperation* /*from*/, double /*progress*/, bool /*blendToPassthrough*/ = false) function in class:WebCore::FilterOperation
192 virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress, bool blendToPassthrough = false);
226 virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress, bool blendToPassthrough = false);
259 virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress, bool blendToPassthrough = false);
295 virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress, bool blendToPassthrough = false);
331 virtual PassRefPtr<FilterOperation> blend(const FilterOperation* from, double progress, bool blendToPassthrough = false);
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/transforms/
H A DAffineTransform.cpp308 void AffineTransform::blend(const AffineTransform& from, double progress) function in class:WebCore::AffineTransform
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/
H A Dangletypes.h62 bool blend; member in struct:gl::BlendState
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_zscan.c265 struct pipe_blend_state blend; local
279 memset(&blend, 0, sizeof blend);
281 blend.independent_blend_enable = 0;
282 blend.rt[0].blend_enable = 0;
283 blend.rt[0].rgb_func = PIPE_BLEND_ADD;
284 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE;
285 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ONE;
286 blend.rt[0].alpha_func = PIPE_BLEND_ADD;
287 blend
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_test_blend.c31 * Unit tests for blend LLVM IR generation
82 const struct pipe_blend_state *blend,
108 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false",
109 blend->rt[0].rgb_src_factor != blend->rt[0].alpha_src_factor ? "true" : "false",
110 blend->rt[0].rgb_dst_factor != blend->rt[0].alpha_dst_factor ? "true" : "false");
114 util_dump_blend_func(blend->rt[0].rgb_func, TRUE),
115 util_dump_blend_factor(blend
81 write_tsv_row(FILE *fp, const struct pipe_blend_state *blend, enum vector_mode mode, struct lp_type type, double cycles, boolean success) argument
126 dump_blend_type(FILE *fp, const struct pipe_blend_state *blend, enum vector_mode mode, struct lp_type type) argument
154 add_blend_test(struct gallivm_state *gallivm, const struct pipe_blend_state *blend, enum vector_mode mode, struct lp_type type) argument
385 compute_blend_ref(const struct pipe_blend_state *blend, const double *src, const double *dst, const double *con, double *res) argument
459 test_one(unsigned verbose, FILE *fp, const struct pipe_blend_state *blend, enum vector_mode mode, struct lp_type type) argument
750 struct pipe_blend_state blend; local
804 struct pipe_blend_state blend; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_context.h62 struct pipe_blend_state *blend; member in struct:softpipe_context
154 struct quad_stage *blend; member in struct:softpipe_context::__anon12244
H A Dsp_quad_blend.c175 switch (softpipe->blend->logicop_func) {
258 * \param const_blend_color the constant blend color
278 switch (softpipe->blend->rt[blend_index].rgb_src_factor) {
449 switch (softpipe->blend->rt[blend_index].alpha_src_factor) {
541 switch (softpipe->blend->rt[blend_index].rgb_dst_factor) {
701 switch (softpipe->blend->rt[blend_index].alpha_dst_factor) {
778 switch (softpipe->blend->rt[blend_index].rgb_func) {
805 assert(0 && "invalid rgb blend func");
811 switch (softpipe->blend->rt[blend_index].alpha_func) {
828 assert(0 && "invalid alpha blend fun
924 const struct pipe_blend_state *blend = softpipe->blend; local
1222 const struct pipe_blend_state *blend = softpipe->blend; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
H A Doutput.c571 struct pipe_blend_state blend; local
573 memset(&blend, 0, sizeof blend);
574 blend.independent_blend_enable = 0;
577 blend.rt[0].blend_enable = 1;
578 blend.rt[0].rgb_src_factor = BlendFactorToPipe(blend_state->blend_factor_source_color);
579 blend.rt[0].rgb_dst_factor = BlendFactorToPipe(blend_state->blend_factor_destination_color);
580 blend.rt[0].alpha_src_factor = BlendFactorToPipe(blend_state->blend_factor_source_alpha);
581 blend.rt[0].alpha_dst_factor = BlendFactorToPipe(blend_state->blend_factor_destination_alpha);
582 blend
641 void *blend; local
700 void *blend; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
H A Dxa_composite.c102 blend_for_op(struct xa_composite_blend *blend, argument
122 *blend = xa_blends[XA_BLEND_OP_OVER];
126 *blend = xa_blends[i];
135 blend->rgb_src = xa_convert_blend_for_luminance(blend->rgb_src);
136 blend->rgb_dst = xa_convert_blend_for_luminance(blend->rgb_dst);
140 * If there's no dst alpha channel, adjust the blend op so that we'll treat
144 if (xa_format_a(dst_pic->pict_format) == 0 && blend->alpha_dst) {
145 if (blend
218 struct xa_composite_blend blend; local
259 struct pipe_blend_state blend; local
362 struct xa_composite_blend blend; local
[all...]

Completed in 455 milliseconds

123456789