[cairo] build now works
psychon at znc.in
Thu Jun 23 11:00:58 PDT 2011
On 23.06.2011 18:36, James Cloos wrote:
>>>>>> "US" == Uli Schlachter <psychon at znc.in> writes:
> US> I tried to get an image out of the xcb trace... what I saw looked like
> US> https://bugs.freedesktop.org/show_bug.cgi?id=31931
> Yes, 31931's attachment 40582 is the same lost-transparency bug.
> And --enable-xlib-xcb is the trigger there, too.
Weird, I thought it was hardware-specific, but when even replaying the trace to
the image backend produces this result...
Shouldn't traces be backend-independent?
> US> Sorry, replays fine here on all enabled backends. Could you set the
> US> environment variable CAIRO_TRACE_FLUSH to 1 and grab another trace?
> I'll do that. It'll be a bit before I can, though.
Don't worry and sorry for my slow reaction.
> PS: Can you remind me of the syntax to playback a trace?
Don't ask me what the "proper" way is. I unpacked the traces with unxz and ran
them through perf/cairo-perf-trace (Just give it the path to the trace as its
argument). That way I got the error messages.
For getting some images out, I experimented with util/cairo-script/csi-exec and
csi-replay. I noticed that running one of the examples left a file "out.png"
behind, so I grepped for that and noticed that the samples in examples/ have a
line like this:
/target get (out.png) write-to-png pop
I added that to your firefox-xcb-trace in front of the last pop.
Let's hope that the almighty Chris knows an easier way for this and enlightens
us mere mortals. ;-)
- Buck, when, exactly, did you lose your mind?
- Three months ago. I woke up one morning married to a pineapple.
An ugly pineapple... But I loved her.
More information about the cairo