Comment 19 for bug 1391857

Revision history for this message
In , Chris Wilson (ickle) wrote :

commit 13a09526d2120c244471e03b6ae979016ef88e83
Author: Chris Wilson <email address hidden>
Date: Sat Aug 23 14:16:55 2014 +0100

    traps,xcb: Prefilter zero-area boxes when converting traps

    The rectangular tesselation routines rely on the presuming that all the
    boxes it has to handle are already filtered to remove empty boxes.

    << /width 800 /height 600 >> surface context
    0.0848671 0 0 0.0848671 39.907812 5.608896 matrix transform
    8 0 m 12.417969 0 16 3.582031 16 8 c 16 12.417969 12.417969 16 8 16 c
    3.582031 16 0 12.417969 0 8 c 0 3.582031 3.582031 0 8 0 c h
    clip
    16 0 m 8 8 l 16 16 l h
    clip
    0 0 16 16 rectangle
    fill

    Triggers the error given a traps tesselator like cairo-xlib.

    Reported-by: Henrique Lengler <email address hidden>
    Analyzed-by: Massimo <email address hidden>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=81699
    Signed-off-by: Chris Wilson <email address hidden>

Fixed, but leaving open to add the testcase.