<div dir="ltr">Actually I'm able to reproduce this path with webkit when I draw a rounded button.<div><br><div>What I see is that in composite_aligned_boxes(const cairo_spans_compositor_t<span style="white-space:pre"> </span>*compositor,</div>
<div><span class="" style="white-space:pre">                    </span> const cairo_composite_rectangles_t<span class="" style="white-space:pre">       </span>*extents,</div><div><span class="" style="white-space:pre">                  </span> cairo_boxes_t<span class="" style="white-space:pre">                            </span>*boxes)</div>
<div><br></div><div>extents->clip->is_region is false<br></div><div style>extents->clip->path is not null</div><div style><br></div><div style>So I'm trying to be in the same configuration. </div><div><br>
</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 July 2013 13:02, Chris Wilson <span dir="ltr"><<a href="mailto:chris@chris-wilson.co.uk" target="_blank">chris@chris-wilson.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Jul 12, 2013 at 12:52:57PM +0200, Yannick Poirier wrote:<br>
>    I'm writting a cairo backend.<br>
>    To implement my missing functions, I would like to write a simple test to<br>
>    reproduce the following path :<br>
>    cairo-spans-compositor.c _cairo_spans_compositor_paint ()<br>
>    cairo-spans-compositor.c clip_and_composite_boxes ()<br>
>    cairo-spans-compositor.c composite_aligned_boxes ()<br>
</div>>    compositor->composite_boxes(*_dst, op, source, mask, src_x, src_y, mask_x, mask_y,  dst_x, dst_y, boxes, extents)<br>
<div class="im"><br>
>    Where src and mask types are CAIRO_PATTERN_TYPE_SOLID<br>
<br>
</div>This will be filtered out at a higher level and reduced to just a solid<br>
source.<br>
<span class="HOEnZb"><font color="#888888">-Chris<br>
<br>
--<br>
Chris Wilson, Intel Open Source Technology Centre<br>
</font></span></blockquote></div><br></div>