Searched refs:sblend (Results 1 - 25 of 25) sorted by relevance

/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di915_render.c95 uint32_t sblend, dblend; local in function:i915_get_blend_cntl
97 sblend = i915_blend_op[op].src_blend;
104 if (sblend == BLENDFACT_DST_ALPHA)
105 sblend = BLENDFACT_ONE;
106 else if (sblend == BLENDFACT_INV_DST_ALPHA)
107 sblend = BLENDFACT_ZERO;
115 if (sblend == BLENDFACT_DST_ALPHA)
116 sblend = BLENDFACT_DST_COLR;
117 else if (sblend == BLENDFACT_INV_DST_ALPHA)
118 sblend
[all...]
H A Di830_render.c182 uint32_t sblend, dblend; local in function:i830_get_blend_cntl
184 sblend = i830_blend_op[op].src_blend;
191 if (sblend == BLENDFACTOR_DST_ALPHA)
192 sblend = BLENDFACTOR_ONE;
193 else if (sblend == BLENDFACTOR_INV_DST_ALPHA)
194 sblend = BLENDFACTOR_ZERO;
200 if (dst_format == PICT_a8 && ((sblend == BLENDFACTOR_DST_ALPHA ||
201 sblend == BLENDFACTOR_INV_DST_ALPHA))) {
218 *blendctl = (sblend << S8_SRC_BLEND_FACTOR_SHIFT) |
H A Di965_render.c120 uint32_t *sblend, uint32_t *dblend)
123 *sblend = i965_blend_op[op].src_blend;
130 if (*sblend == BRW_BLENDFACTOR_DST_ALPHA)
131 *sblend = BRW_BLENDFACTOR_ONE;
132 else if (*sblend == BRW_BLENDFACTOR_INV_DST_ALPHA)
133 *sblend = BRW_BLENDFACTOR_ZERO;
119 i965_get_blend_cntl(int op,PicturePtr pMask,uint32_t dst_format,uint32_t * sblend,uint32_t * dblend) argument
/xsrc/external/mit/xf86-video-intel/dist/src/uxa/
H A Di830_render.c181 uint32_t sblend, dblend; local in function:i830_get_blend_cntl
183 sblend = i830_blend_op[op].src_blend;
190 if (sblend == BLENDFACTOR_DST_ALPHA)
191 sblend = BLENDFACTOR_ONE;
192 else if (sblend == BLENDFACTOR_INV_DST_ALPHA)
193 sblend = BLENDFACTOR_ZERO;
199 if (dst_format == PICT_a8 && ((sblend == BLENDFACTOR_DST_ALPHA ||
200 sblend == BLENDFACTOR_INV_DST_ALPHA))) {
219 *blendctl = (sblend << S8_SRC_BLEND_FACTOR_SHIFT) |
H A Di915_render.c99 uint32_t sblend, dblend; local in function:i915_get_blend_cntl
101 sblend = i915_blend_op[op].src_blend;
108 if (sblend == BLENDFACT_DST_ALPHA)
109 sblend = BLENDFACT_ONE;
110 else if (sblend == BLENDFACT_INV_DST_ALPHA)
111 sblend = BLENDFACT_ZERO;
119 if (sblend == BLENDFACT_DST_ALPHA)
120 sblend = BLENDFACT_DST_COLR;
121 else if (sblend == BLENDFACT_INV_DST_ALPHA)
122 sblend
[all...]
H A Di965_render.c119 uint32_t * sblend, uint32_t * dblend)
122 *sblend = i965_blend_op[op].src_blend;
129 if (*sblend == BRW_BLENDFACTOR_DST_ALPHA)
130 *sblend = BRW_BLENDFACTOR_ONE;
131 else if (*sblend == BRW_BLENDFACTOR_INV_DST_ALPHA)
132 *sblend = BRW_BLENDFACTOR_ZERO;
118 i965_get_blend_cntl(int op,PicturePtr mask,uint32_t dst_format,uint32_t * sblend,uint32_t * dblend) argument
/xsrc/external/mit/xf86-video-intel-2014/dist/src/uxa/
H A Di830_render.c181 uint32_t sblend, dblend; local in function:i830_get_blend_cntl
183 sblend = i830_blend_op[op].src_blend;
190 if (sblend == BLENDFACTOR_DST_ALPHA)
191 sblend = BLENDFACTOR_ONE;
192 else if (sblend == BLENDFACTOR_INV_DST_ALPHA)
193 sblend = BLENDFACTOR_ZERO;
199 if (dst_format == PICT_a8 && ((sblend == BLENDFACTOR_DST_ALPHA ||
200 sblend == BLENDFACTOR_INV_DST_ALPHA))) {
219 *blendctl = (sblend << S8_SRC_BLEND_FACTOR_SHIFT) |
H A Di915_render.c99 uint32_t sblend, dblend; local in function:i915_get_blend_cntl
101 sblend = i915_blend_op[op].src_blend;
108 if (sblend == BLENDFACT_DST_ALPHA)
109 sblend = BLENDFACT_ONE;
110 else if (sblend == BLENDFACT_INV_DST_ALPHA)
111 sblend = BLENDFACT_ZERO;
119 if (sblend == BLENDFACT_DST_ALPHA)
120 sblend = BLENDFACT_DST_COLR;
121 else if (sblend == BLENDFACT_INV_DST_ALPHA)
122 sblend
[all...]
H A Di965_render.c119 uint32_t * sblend, uint32_t * dblend)
122 *sblend = i965_blend_op[op].src_blend;
129 if (*sblend == BRW_BLENDFACTOR_DST_ALPHA)
130 *sblend = BRW_BLENDFACTOR_ONE;
131 else if (*sblend == BRW_BLENDFACTOR_INV_DST_ALPHA)
132 *sblend = BRW_BLENDFACTOR_ZERO;
118 i965_get_blend_cntl(int op,PicturePtr mask,uint32_t dst_format,uint32_t * sblend,uint32_t * dblend) argument
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Dnv30_exa.c209 uint32_t sblend, dblend; local in function:NV30_SetupBlend
211 sblend = blend->src_card_op;
216 if (sblend == BF(DST_ALPHA)) {
217 sblend = BF(ONE);
218 } else if (sblend == BF(ONE_MINUS_DST_ALPHA)) {
219 sblend = BF(ZERO);
222 if (sblend == BF(DST_ALPHA)) {
223 sblend = BF(DST_COLOR);
224 } else if (sblend == BF(ONE_MINUS_DST_ALPHA)) {
225 sblend
[all...]
H A Dnv40_exa.c140 uint32_t sblend, dblend; local in function:NV40_SetupBlend
142 sblend = blend->src_card_op;
147 if (sblend == SF(DST_ALPHA)) {
148 sblend = SF(ONE);
149 } else if (sblend == SF(ONE_MINUS_DST_ALPHA)) {
150 sblend = SF(ZERO);
153 if (sblend == SF(DST_ALPHA)) {
154 sblend = SF(DST_COLOR);
155 } else if (sblend == SF(ONE_MINUS_DST_ALPHA)) {
156 sblend
[all...]
H A Dnv50_exa.c765 unsigned sblend = b->src_blend; local in function:NV50EXABlend
770 if (sblend == BF(DST_ALPHA))
771 sblend = BF(ONE);
773 if (sblend == BF(ONE_MINUS_DST_ALPHA))
774 sblend = BF(ZERO);
786 if (sblend == BF(ONE) && dblend == BF(ZERO)) {
794 PUSH_DATA (push, sblend);
797 PUSH_DATA (push, sblend);
H A Dnvc0_exa.c752 unsigned sblend = b->src_blend; local in function:NVC0EXABlend
757 if (sblend == BF(DST_ALPHA))
758 sblend = BF(ONE);
760 if (sblend == BF(ONE_MINUS_DST_ALPHA))
761 sblend = BF(ZERO);
773 if (sblend == BF(ONE) && dblend == BF(ZERO)) {
781 PUSH_DATA (push, sblend);
784 PUSH_DATA (push, sblend);
/xsrc/external/mit/xf86-video-r128/dist/src/
H A Dr128_exa_render.c53 uint32_t sblend; member in struct:__anon4fdc96230108
432 uint32_t sblend, dblend, blend_cntl, window_offset; local in function:R128CCEPrepareComposite
491 sblend = R128BlendOp[op].sblend;
494 if (sblend == R128_ALPHA_BLEND_DSTALPHA)
495 sblend = R128_ALPHA_BLEND_ONE;
496 else if (sblend == R128_ALPHA_BLEND_INVDSTALPHA)
497 sblend = R128_ALPHA_BLEND_ZERO;
499 blend_cntl = (sblend << R128_ALPHA_BLEND_SRC_SHIFT) |
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Devergreen_exa.c689 uint32_t sblend, dblend; local in function:EVERGREENGetBlendCntl
691 sblend = EVERGREENBlendOp[op].blend_cntl & COLOR_SRCBLEND_mask;
698 if (sblend == (BLEND_DST_ALPHA << COLOR_SRCBLEND_shift))
699 sblend = (BLEND_ONE << COLOR_SRCBLEND_shift);
700 else if (sblend == (BLEND_ONE_MINUS_DST_ALPHA << COLOR_SRCBLEND_shift))
701 sblend = (BLEND_ZERO << COLOR_SRCBLEND_shift);
719 if (sblend == (BLEND_ONE << COLOR_SRCBLEND_shift)) {
720 sblend = (BLEND_CONSTANT_COLOR << COLOR_SRCBLEND_shift);
724 return sblend | dblend;
H A Dr600_exa.c748 uint32_t sblend, dblend; local in function:R600GetBlendCntl
750 sblend = R600BlendOp[op].blend_cntl & COLOR_SRCBLEND_mask;
757 if (sblend == (BLEND_DST_ALPHA << COLOR_SRCBLEND_shift))
758 sblend = (BLEND_ONE << COLOR_SRCBLEND_shift);
759 else if (sblend == (BLEND_ONE_MINUS_DST_ALPHA << COLOR_SRCBLEND_shift))
760 sblend = (BLEND_ZERO << COLOR_SRCBLEND_shift);
778 if (sblend == (BLEND_ONE << COLOR_SRCBLEND_shift)) {
779 sblend = (BLEND_CONSTANT_COLOR << COLOR_SRCBLEND_shift);
783 return sblend | dblend;
H A Dradeon_exa_render.c166 uint32_t sblend, dblend; local in function:RADEONGetBlendCntl
168 sblend = RadeonBlendOp[op].blend_cntl & RADEON_SRC_BLEND_MASK;
175 if (sblend == RADEON_SRC_BLEND_GL_DST_ALPHA)
176 sblend = RADEON_SRC_BLEND_GL_ONE;
177 else if (sblend == RADEON_SRC_BLEND_GL_ONE_MINUS_DST_ALPHA)
178 sblend = RADEON_SRC_BLEND_GL_ZERO;
193 return sblend | dblend;
/xsrc/external/mit/xf86-video-mga/dist/src/
H A Dmga_exa.c590 int sblend = blendcntl & MGA_SRC_BLEND_MASK; local in function:mgaPrepareComposite
592 if (sblend == MGA_SRC_DST_ALPHA)
594 else if (sblend == MGA_SRC_ONE_MINUS_DST_ALPHA)
/xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
H A Dgen2_render.c423 uint32_t sblend, dblend; local in function:gen2_get_blend_cntl
428 sblend = gen2_blend_op[op].src_blend;
436 if (sblend == BLENDFACTOR_DST_ALPHA)
437 sblend = BLENDFACTOR_ONE;
438 else if (sblend == BLENDFACTOR_INV_DST_ALPHA)
439 sblend = BLENDFACTOR_ZERO;
448 if (sblend == BLENDFACTOR_DST_ALPHA)
449 sblend = BLENDFACTOR_DST_COLR;
450 else if (sblend == BLENDFACTOR_INV_DST_ALPHA)
451 sblend
[all...]
H A Dgen3_render.c151 uint32_t sblend = gen3_blend_op[op].src_blend; local in function:gen3_get_blend_cntl
162 if (sblend == BLENDFACT_DST_ALPHA)
163 sblend = BLENDFACT_ONE;
164 else if (sblend == BLENDFACT_INV_DST_ALPHA)
165 sblend = BLENDFACT_ZERO;
174 if (sblend == BLENDFACT_DST_ALPHA)
175 sblend = BLENDFACT_DST_COLR;
176 else if (sblend == BLENDFACT_INV_DST_ALPHA)
177 sblend = BLENDFACT_INV_DST_COLR;
194 sblend << S6_CBUF_SRC_BLEND_FACT_SHIF
[all...]
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Devergreen_exa.c686 uint32_t sblend, dblend; local in function:EVERGREENGetBlendCntl
688 sblend = EVERGREENBlendOp[op].blend_cntl & COLOR_SRCBLEND_mask;
695 if (sblend == (BLEND_DST_ALPHA << COLOR_SRCBLEND_shift))
696 sblend = (BLEND_ONE << COLOR_SRCBLEND_shift);
697 else if (sblend == (BLEND_ONE_MINUS_DST_ALPHA << COLOR_SRCBLEND_shift))
698 sblend = (BLEND_ZERO << COLOR_SRCBLEND_shift);
713 return sblend | dblend;
H A Dr600_exa.c840 uint32_t sblend, dblend; local in function:R600GetBlendCntl
842 sblend = R600BlendOp[op].blend_cntl & COLOR_SRCBLEND_mask;
849 if (sblend == (BLEND_DST_ALPHA << COLOR_SRCBLEND_shift))
850 sblend = (BLEND_ONE << COLOR_SRCBLEND_shift);
851 else if (sblend == (BLEND_ONE_MINUS_DST_ALPHA << COLOR_SRCBLEND_shift))
852 sblend = (BLEND_ZERO << COLOR_SRCBLEND_shift);
867 return sblend | dblend;
H A Dradeon_exa_render.c197 uint32_t sblend, dblend; local in function:RADEONGetBlendCntl
199 sblend = RadeonBlendOp[op].blend_cntl & RADEON_SRC_BLEND_MASK;
206 if (sblend == RADEON_SRC_BLEND_GL_DST_ALPHA)
207 sblend = RADEON_SRC_BLEND_GL_ONE;
208 else if (sblend == RADEON_SRC_BLEND_GL_ONE_MINUS_DST_ALPHA)
209 sblend = RADEON_SRC_BLEND_GL_ZERO;
224 return sblend | dblend;
/xsrc/external/mit/xf86-video-intel/dist/src/sna/
H A Dgen2_render.c426 uint32_t sblend, dblend; local in function:gen2_get_blend_cntl
431 sblend = gen2_blend_op[op].src_blend;
439 if (sblend == BLENDFACTOR_DST_ALPHA)
440 sblend = BLENDFACTOR_ONE;
441 else if (sblend == BLENDFACTOR_INV_DST_ALPHA)
442 sblend = BLENDFACTOR_ZERO;
451 if (sblend == BLENDFACTOR_DST_ALPHA)
452 sblend = BLENDFACTOR_DST_COLR;
453 else if (sblend == BLENDFACTOR_INV_DST_ALPHA)
454 sblend
[all...]
H A Dgen3_render.c151 uint32_t sblend = gen3_blend_op[op].src_blend; local in function:gen3_get_blend_cntl
162 if (sblend == BLENDFACT_DST_ALPHA)
163 sblend = BLENDFACT_ONE;
164 else if (sblend == BLENDFACT_INV_DST_ALPHA)
165 sblend = BLENDFACT_ZERO;
174 if (sblend == BLENDFACT_DST_ALPHA)
175 sblend = BLENDFACT_DST_COLR;
176 else if (sblend == BLENDFACT_INV_DST_ALPHA)
177 sblend = BLENDFACT_INV_DST_COLR;
194 sblend << S6_CBUF_SRC_BLEND_FACT_SHIF
[all...]

Completed in 50 milliseconds