[Bug 79517] Corruption in Firefox 30 or later

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 2 13:14:43 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=79517

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
Idea:

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 2513b8b..18195d8 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -4564,7 +4564,8 @@ try_upload_tiled_x(PixmapPtr pixmap, RegionRec *region,
                        DBG(("%s: discarding dirty pixmap\n", __FUNCTION__));
                        sna_pixmap_free_gpu(sna, priv);
                }
-               replaces = true; /* Mark it all GPU damaged afterwards */
+               replaces = (priv->cpu_damage == NULL ||
+                           region_subsumes_damage(region, priv->cpu_damage));
        }

        if (priv->gpu_bo == NULL &&

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140602/494170ab/attachment.html>


More information about the intel-gfx-bugs mailing list