search for: dst_alpha

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

2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...0x0001 -#define NV34TCL_BF_SRC_COLOR 0x0300 -#define NV34TCL_BF_ONE_MINUS_SRC_COLOR 0x0301 -#define NV34TCL_BF_SRC_ALPHA 0x0302 -#define NV34TCL_BF_ONE_MINUS_SRC_ALPHA 0x0303 -#define NV34TCL_BF_DST_ALPHA 0x0304 -#define NV34TCL_BF_ONE_MINUS_DST_ALPHA 0x0305 -#define NV34TCL_BF_DST_COLOR 0x0306 -#define NV34TCL_BF_ONE_MINUS_DST_COLOR 0x0307 -#define NV34TCL_BF_ALPHA_SATURATE...
2010 May 31
1
[PATCH] nv50/exa: use dual-source blending for component-alpha composite
...ABlend(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_COLOR); - else - if (dblend == BF(ONE_MINUS...