Module Name: xsrc Committed By: macallan Date: Wed Nov 6 19:00:58 UTC 2013
Modified Files: xsrc/external/mit/xf86-video-ati/dist/src: radeon_exa_render.c Log Message: fix xrender ops with a solid source without an actual pixmap for R2xx and R3xx on big endian hardware as well tested on macppc To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ 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.2 xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c:1.3 --- xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c:1.2 Tue Oct 29 01:06:03 2013 +++ xsrc/external/mit/xf86-video-ati/dist/src/radeon_exa_render.c Wed Nov 6 19:00:58 2013 @@ -1025,7 +1025,7 @@ static Bool FUNC_NAME(R200PrepareComposi RADEON_FALLBACK(("Bad destination pitch 0x%x\n", (int)dst_pitch)); 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"); } @@ -1034,7 +1034,7 @@ static Bool FUNC_NAME(R200PrepareComposi 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); @@ -1533,7 +1533,7 @@ static Bool FUNC_NAME(R300PrepareComposi RADEON_FALLBACK(("Bad destination pitch 0x%x\n", (int)dst_pitch)); 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"); } @@ -1542,7 +1542,7 @@ static Bool FUNC_NAME(R300PrepareComposi 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);