search for: effective_component_alpha

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

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
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...A); + return nv10_pict_op[op].dst == DF(ONE_MINUS_SRC_ALPHA) + || nv10_pict_op[op].dst == DF(SRC_ALPHA); } -static inline bool needs_src(int op) +static inline Bool +needs_src(int op) { - return NV10PictOp[op].src != DF(ZERO); + return nv10_pict_op[op].src != DF(ZERO); } -static inline bool effective_component_alpha(PicturePtr mask) +static inline Bool +effective_component_alpha(PicturePtr mask) { return mask && mask->componentAlpha && PICT_FORMAT_RGB(mask->format); } -static int NV10TexFormat(int ExaFormat) -{ - struct {int exa;int hw;} tex_format[] = - { - {PICT_a8r8g8b8, 0x900},...