[Bug 55500] [sna gen4] corrupt rendering (and flickering on redraw)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 5 03:44:05 PST 2013


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

--- Comment #52 from Chris Wilson <chris at chris-wilson.co.uk> ---
How about: 

diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index cc1778a..0a59681 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -1895,6 +1895,9 @@ gen4_render_composite(struct sna *sna,
        tmp->has_component_alpha = false;
        tmp->need_magic_ca_pass = false;

+       if (!mask)
+               mask = sna->render.white_picture;
+
        if (mask) {
                if (mask->componentAlpha && PICT_FORMAT_RGB(mask->format)) {
                        tmp->has_component_alpha = true;

-- 
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/20130205/252bd9f3/attachment.html>


More information about the intel-gfx-bugs mailing list