Re: [PATCH] Clip rectangles are not necessarily YSorted

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Tue,  6 Dec 2011 09:58:18 -0800, Keith Packard <[email protected]> wrote:
> None of the cairo clipping computations guarantee that the resulting
> list of rectangles are constructed in any particular order. Promising
> that they are results in an X error (BadMatch) which generally causes
> applications to crash.
> 
> I suspect this may well be implicated in many (many) bug reports about
> applications which use cairo.
> 
> Signed-off-by: Keith Packard <[email protected]>

Ouch. Thanks Keith for pointing out my stupidity in not only forgetting
just how the rectangles are generated (the lazy emission breaks all
sorting guarrantees) and that YSorted simply causes the Xserver to do
extra work for no benefit.

Thanks,
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.