Fix exaGetPixmapFirstPixel to migrate as unaccelerated. Also adds a bit of

fallback debugging info to PolyGlyphBlt.
This commit is contained in:
Eric Anholt 2006-04-18 18:50:35 +00:00
parent 782d61a031
commit 771b366abe
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2006-04-18 Eric Anholt <anholt@FreeBSD.org>
* exa/exa_unaccel.c: (ExaCheckPolyGlyphBlt),
(exaGetPixmapFirstPixel):
Fix exaGetPixmapFirstPixel to migrate as unaccelerated. Also adds a bit
of fallback debugging info to PolyGlyphBlt.
2006-04-18 Donnie Berkholz <spyderous@gentoo.org>
reviewed by: Alan Coopersmith

View File

@ -212,7 +212,8 @@ ExaCheckPolyGlyphBlt (DrawablePtr pDrawable, GCPtr pGC,
int x, int y, unsigned int nglyph,
CharInfoPtr *ppci, pointer pglyphBase)
{
EXA_FALLBACK(("to 0x%lx\n", (long)pDrawable));
EXA_FALLBACK(("to 0x%lx, style %d alu %d\n", (long)pDrawable,
pGC->fillStyle, pGC->alu));
exaPrepareAccess (pDrawable, EXA_PREPARE_DEST);
exaPrepareAccessGC (pGC);
fbPolyGlyphBlt (pDrawable, pGC, x, y, nglyph, ppci, pglyphBase);
@ -352,7 +353,7 @@ exaGetPixmapFirstPixel (PixmapPtr pPixmap)
pixmaps[0].as_dst = FALSE;
pixmaps[0].as_src = TRUE;
pixmaps[0].pPix = pPixmap;
exaDoMigration (pixmaps, 1, TRUE);
exaDoMigration (pixmaps, 1, FALSE);
exaPrepareAccess(&pPixmap->drawable, EXA_PREPARE_SRC);
switch (pPixmap->drawable.bitsPerPixel) {