search for: nv10_pict_op

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

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
...(format->exa == pict->format) + return format->hw; + } + + return 0; +} + +/* Blending functions. */ #define SF(x) NV10TCL_BLEND_FUNC_SRC_##x #define DF(x) NV10TCL_BLEND_FUNC_DST_##x -static struct nv10_pictop { +static struct pict_op { int src; int dst; -} NV10PictOp [] = { + +} nv10_pict_op[] = { { SF(ZERO), DF(ZERO) }, /* Clear */ { SF(ONE), DF(ZERO) }, /* Src */ { SF(ZERO), DF(ONE) }, /* Dst */ @@ -61,131 +121,91 @@ static struct nv10_pictop { { SF(ONE), DF(ONE) }, /* Add */ }; -static inline bool needs_src_alpha(int op) +static...