Fix exaGetPixmapFirstPixel to migrate as unaccelerated. Also adds a bit of
fallback debugging info to PolyGlyphBlt.
This commit is contained in:
parent
782d61a031
commit
771b366abe
|
@ -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>
|
2006-04-18 Donnie Berkholz <spyderous@gentoo.org>
|
||||||
|
|
||||||
reviewed by: Alan Coopersmith
|
reviewed by: Alan Coopersmith
|
||||||
|
|
|
@ -212,7 +212,8 @@ ExaCheckPolyGlyphBlt (DrawablePtr pDrawable, GCPtr pGC,
|
||||||
int x, int y, unsigned int nglyph,
|
int x, int y, unsigned int nglyph,
|
||||||
CharInfoPtr *ppci, pointer pglyphBase)
|
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);
|
exaPrepareAccess (pDrawable, EXA_PREPARE_DEST);
|
||||||
exaPrepareAccessGC (pGC);
|
exaPrepareAccessGC (pGC);
|
||||||
fbPolyGlyphBlt (pDrawable, pGC, x, y, nglyph, ppci, pglyphBase);
|
fbPolyGlyphBlt (pDrawable, pGC, x, y, nglyph, ppci, pglyphBase);
|
||||||
|
@ -352,7 +353,7 @@ exaGetPixmapFirstPixel (PixmapPtr pPixmap)
|
||||||
pixmaps[0].as_dst = FALSE;
|
pixmaps[0].as_dst = FALSE;
|
||||||
pixmaps[0].as_src = TRUE;
|
pixmaps[0].as_src = TRUE;
|
||||||
pixmaps[0].pPix = pPixmap;
|
pixmaps[0].pPix = pPixmap;
|
||||||
exaDoMigration (pixmaps, 1, TRUE);
|
exaDoMigration (pixmaps, 1, FALSE);
|
||||||
|
|
||||||
exaPrepareAccess(&pPixmap->drawable, EXA_PREPARE_SRC);
|
exaPrepareAccess(&pPixmap->drawable, EXA_PREPARE_SRC);
|
||||||
switch (pPixmap->drawable.bitsPerPixel) {
|
switch (pPixmap->drawable.bitsPerPixel) {
|
||||||
|
|
Loading…
Reference in New Issue