Displaying 1 result from an estimated 1 matches for "dblend_a".
Did you mean:
dblend
2010 May 31
1
[PATCH] nv50/exa: use dual-source blending for component-alpha composite
.../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 (b->src_alpha && component_alpha) {
- if (dblend == BF(SRC_ALPHA))
- dblend = BF(SRC_CO...