cairo/util/cairo-trace
Uli Schlachter 0dc63f5bb4 cairo-trace: Fix mark-dirty with xcb backend
cairo-xcb's acquire_source_image implementation will attach the image it returns
as a snapshot to the xcb surface. cairo_surface_mark_dirty_rectangle asserts
that the surface doesn't have any snapshots attached. cairo-trace will emit the
surface to the trace when it was marked dirty by drawing it to an image surface.

The combination of these three things caused a failed assertion when cairo-trace
was used on something which uses xcb/Xlib and which uses mark_dirty.
I found this with firefox and xlib-xcb.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-07-17 17:53:23 +02:00
..
.gitignore [.gitignore] Add 2008-10-31 13:43:37 -04:00
cairo-trace.in Fix compilation on MacOS X 2009-11-09 16:59:31 +00:00
COPYING Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
COPYING-GPL-3 Add a COPYING file to each aux. source directory 2008-10-31 16:14:14 +00:00
lookup-symbol.c [trace] Simple unbounded cache for symbol lookups. 2008-11-19 11:59:20 +00:00
lookup-symbol.h [util] Add cairo-trace. 2008-10-31 15:37:58 +00:00
Makefile.am build: Rework pthread detection. 2010-07-11 21:40:26 +03:00
trace.c cairo-trace: Fix mark-dirty with xcb backend 2011-07-17 17:53:23 +02:00