search for: sblend

Displaying 2 results from an estimated 2 matches for "sblend".

Did you mean: blend
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...ak; - case 11:ErrorF("Op Xor\n");break; - case 12:ErrorF("Op Add\n");break; - } -#endif return &NV30PictOp[op]; } @@ -265,36 +215,36 @@ NV30_SetupBlend(ScrnInfoPtr pScrn, nv_pict_op_t *blend, if (blend->dst_alpha) { if (!PICT_FORMAT_A(dest_format)) { - if (sblend == BF(DST_ALPHA)) { - sblend = BF(ONE); - } else if (sblend == BF(ONE_MINUS_DST_ALPHA)) { - sblend = BF(ZERO); + if (sblend == SF(DST_ALPHA)) { + sblend = SF(ONE); + } else if (sblend == SF(ONE_MINUS_DST_ALPHA)) { + sblend = SF(ZERO); } } else if (dest_format == PICT_a8) {...
2010 May 31
1
[PATCH] nv50/exa: use dual-source blending for component-alpha composite
...iff --git a/src/nv50_exa.c b/src/nv50_exa.c index e86f903..8bacdf0 100644 --- a/src/nv50_exa.c +++ b/src/nv50_exa.c @@ -751,7 +751,7 @@ NV50EXABlend(PixmapPtr ppix, PicturePtr ppict, int op, int component_alpha) NV50EXA_LOCALS(ppix); struct nv50_blend_op *b = &NV50EXABlendOp[op]; unsigned sblend = b->src_blend; - unsigned dblend = b->dst_blend; + unsigned dblend = b->dst_blend, dblend_a = b->dst_blend; if (b->dst_alpha) { if (!PICT_FORMAT_A(ppict->format)) { @@ -764,11 +764,18 @@ NV50EXABlend(PixmapPtr ppix, PicturePtr ppict, int op, int component_alpha) } if...