http://bugs.freedesktop.org/show_bug.cgi?id=18398





--- Comment #8 from Danny <[email protected]>  2009-03-22 01:46:07 PST ---
Something like the following always fixes 99% of the corruption issues i'm
seeing with radeon:
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -401,7 +401,7 @@ FUNC_NAME(RADEONDownloadFromScreen)(PixmapPtr pSrc, int x,
int y, int w, int h,
      * blitting the bits to one half while copying them out of the other one
and
      * then swapping the halves.
      */
-    if (info->accelDFS && bpp != 24 && RADEONGetDatatypeBpp(bpp, &datatype) &&
+    if (info->accelDFS && bpp != 24 && w>32 && RADEONGetDatatypeBpp(bpp,
&datatype) &&
        RADEONGetPixmapOffsetPitch(pSrc, &src_pitch_offset) &&
        (scratch = RADEONCPGetBuffer(pScrn)))
     {


I guess it is obvious why; For small pixmaps things are already used before
they are completely there.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to