Displaying 1 result from an estimated 1 matches for "fmt2".
Did you mean:
fmt
2009 Oct 31
0
[PATCH] nv/exa: fix 15/16 bits solid fill
...1,7 @@ NV04EXAPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg)
struct nouveau_grobj *rect = pNv->NvRectangle;
struct nouveau_bo *bo = nouveau_pixmap_bo(pPixmap);
unsigned delta = nouveau_pixmap_offset(pPixmap);
- unsigned int fmt, pitch, color;
+ unsigned int fmt, pitch, fmt2 = NV04_GDI_RECTANGLE_TEXT_COLOR_FORMAT_A8R8G8B8;
WAIT_RING(chan, 64);
@@ -102,13 +102,12 @@ NV04EXAPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg)
pitch = exaGetPixmapPitch(pPixmap);
if (pPixmap->drawable.bitsPerPixel == 16) {
- /* convert to 32bpp */
- uint32_t...