Re: A potential issue in cairo-recording-surface.c

Chris Wilson <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
On Fri, 9 Nov 2012 20:44:50 +0100, Zozó Teki <[email protected]> wrote:
> Hi,
> 
> I have noticed that some of my objects were  lost when drawing them on
> a recording surface and playing them back. After doing some debugging
> I found that they are not properly added to the bbtree during
> playback. (Later elements with the same extents as a prior one tend to
> disappear from the chain of headers having similar extents.)
> 
> I have prepared the below patch (against 1.12.8), which fixes the
> issue for me. (It properly prepends “header” with its full chain to
> “bbt->chain”.)

Thank you, the patch looks correct. Mea culpa.
 
> I am not a regular cairo contributor, this is the first time I am
> submitting a patch, so I am not sure this is the proper way or whom to
> contact to discuss this issue.

It was fine and you raised the issue ideally. For anything larger, you
may want to invest some time into setting up git for use locally - it
makes patch management much easier.

commit 62b795fe52c73ad58101c101aa77449f4b61a576
Author: Zozó Teki <[email protected]>
Date:   Sat Nov 10 08:35:33 2012 +0000

    recording: Append new elements to the end of the bbtree chain

Many thanks, pushed. Have fun using Cairo!
-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.