[cairo-bugs] [Bug 84330] New: record-paint-alpha-clip-mask.xcb.rgb24 random failure

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 25 08:47:14 PDT 2014


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

          Priority: medium
            Bug ID: 84330
          Assignee: psychon at znc.in
           Summary: record-paint-alpha-clip-mask.xcb.rgb24 random failure
        QA Contact: cairo-bugs at cairographics.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: sixtysix at inwind.it
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: xcb backend
           Product: cairo

Created attachment 106861
  --> https://bugs.freedesktop.org/attachment.cgi?id=106861&action=edit
quick hack

In this test there are a number of cairo_paint_with_alpha calls
with a clip composed of two non intersecting paths. In these cases
_composite_mask_clip (from src/cairo-xcb-surface-render.c lines 3458)
is executed and this function assumes that it is possible to avoid
a deferred clear. But this test shows that is not always possible,
in fact clearing the surface when info.traps.num_traps == 0, fixes
the test for the targets xcb.argb32 and xcb{,-window{,&}}.rgb24

Not clearing a surface leaves it in a status that is possibly clear and
that's the reason of the occasional failures.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20140925/63153148/attachment.html>


More information about the cairo-bugs mailing list