search for: pict_format_a

Displaying 5 results from an estimated 5 matches for "pict_format_a".

2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...pha in place of 1s above, but we don't need that in 2D. - -Multi texturing setup, where we do TEX0 in TEX1 (masking) is: -Alpha RC 0 : a_0 * a_1 + 0 * 0 -RGB RC0 : rgb_0 * a_1 + 0 * 0 -RC 1s are unused -Final combiner uses default setup - -*/ + uint32_t rc_in_alpha = 0, rc_in_rgb = 0; + if (PICT_FORMAT_A(src->format)) - rc0_in_alpha |= NV10TCL_RC_IN_ALPHA_A_INPUT_TEXTURE0_ARB - | NV10TCL_RC_IN_RGB_A_COMPONENT_USAGE_ALPHA; + rc_in_alpha |= RC_IN_TEX(A, ALPHA, 0); else - rc0_in_alpha |= RC_IN_ONE(ALPHA, A); + rc_in_alpha |= RC_IN_ONE(A); if (mask && PICT_FORMAT_A(mask->forma...
2010 May 31
1
[PATCH] nv50/exa: use dual-source blending for component-alpha composite
..., 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_SRC_ALPHA)) - dblend =...
2014 Aug 10
3
[PATCH 1/4] exa/nv10: use same clip settings as mesa driver
The higher 0x800 was getting overwritten by the 0x7ff anyways, so it wasn't doing any good. The mesa driver just uses 0x800 for the low portion and doesn't set the 8 bit in the higher portion, so do the same thing here. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/nv10_exa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nv10_exa.c
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...rorF("Op AtopReverse\n");break; - 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...
2012 Jun 27
32
[Bug 51477] New: bad/missing graphics with NV11 / GeForce 2MX/MX400
https://bugs.freedesktop.org/show_bug.cgi?id=51477 Bug #: 51477 Summary: bad/missing graphics with NV11 / GeForce 2MX/MX400 Classification: Unclassified Product: xorg Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: