Module Name: xsrc
Committed By: macallan
Date: Tue Oct 29 01:06:03 UTC 2013
Modified Files:
xsrc/external/mit/xf86-video-ati/dist/src: radeon_exa_render.c
Log Message:
Don't endian-twiddle solid source colours in composite operations on R1xx
Now gtk2-rendered text looks right again with EXA and xrender acceleration
enabled.
Probably needs similar fixes for R2xx, also needs testing on little-endian
hardware.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.10 -r1.2 \
xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c
diff -u xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c:1.1.1.10 xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c:1.2
--- xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c:1.1.1.10 Sun Sep 23 19:49:35 2012
+++ xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c Tue Oct 29 01:06:03 2013
@@ -649,7 +649,7 @@ static Bool FUNC_NAME(R100PrepareComposi
CHECK_OFFSET(pDst, 0x0f, "destination");
if (!pSrc) {
- pSrc = RADEONSolidPixmap(pScreen, cpu_to_le32(pSrcPicture->pSourcePict->solidFill.color));
+ pSrc = RADEONSolidPixmap(pScreen, pSrcPicture->pSourcePict->solidFill.color);
if (!pSrc)
RADEON_FALLBACK("Failed to create solid scratch pixmap\n");
}
@@ -661,7 +661,7 @@ static Bool FUNC_NAME(R100PrepareComposi
return FALSE;
if (pMaskPicture && !pMask) {
- pMask = RADEONSolidPixmap(pScreen, cpu_to_le32(pMaskPicture->pSourcePict->solidFill.color));
+ pMask = RADEONSolidPixmap(pScreen, pMaskPicture->pSourcePict->solidFill.color);
if (!pMask) {
if (!pSrcPicture->pDrawable)
pScreen->DestroyPixmap(pSrc);