Displaying 2 results from an estimated 2 matches for "fmt_ret".
Did you mean:
fmt_len
2009 Oct 31
0
[PATCH] nv/exa: fix 15/16 bits solid fill
...r);
+ OUT_RING (chan, fg);
pNv->pdpix = pPixmap;
pNv->alu = alu;
diff --git a/src/nv_accel_common.c b/src/nv_accel_common.c
index fa77cc3..3c8911e 100644
--- a/src/nv_accel_common.c
+++ b/src/nv_accel_common.c
@@ -117,7 +117,10 @@ NVAccelGetCtxSurf2DFormatFromPixmap(PixmapPtr pPix, int *fmt_ret)
*fmt_ret = NV04_CONTEXT_SURFACES_2D_FORMAT_X8R8G8B8_Z8R8G8B8;
break;
case 16:
- *fmt_ret = NV04_CONTEXT_SURFACES_2D_FORMAT_R5G6B5;
+ if (pPix->drawable.depth == 16)
+ *fmt_ret = NV04_CONTEXT_SURFACES_2D_FORMAT_R5G6B5;
+ else
+ *fmt_ret = NV04_CONTEXT_SURFACES_2D_FORMAT_X1R5G5B5_Z...
2019 Jan 21
5
[PATCH xf86-video-nouveau 0/4] Compiler warnings series
A short series of compiler visibility warning fixes that I prepared whilst
trialing improvements to xf86-video-nouveau's use of the core xorg-server
utility macros.
Rhys Kidd (4):
wfb: Remove declaration for undefined function nouveau_wfb_init()
dri2: Mark local create/destroy buffer and copy region functions as
static
xv: Mark local NVSetupTexturedVideo function as static