mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-22 19:38:18 +02:00
This is a simple variation on cairo-trace that wraps records the last 16 contexts by wrapping the target surface inside a tee surface, along with a meta/recording surface. Then on receipt of a SIGUSR1, those last 16 contexts are played via a script-surface into /tmp/fdr.trace. Mostly proof-of-concept, it seems to be causing a number of rendering glitches whilst testing with firefox -- otherwise, it seems to works.
13 lines
337 B
Makefile
13 lines
337 B
Makefile
cairolibdir = $(libdir)/cairo
|
|
|
|
#bin_SCRIPTS = cairo-fdr
|
|
cairolib_LTLIBRARIES = cairo-fdr.la
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src \
|
|
-I$(top_builddir)/src
|
|
|
|
cairo_fdr_la_SOURCES = fdr.c
|
|
cairo_fdr_la_CPPFLAGS = $(AM_CPPFLAGS)
|
|
cairo_fdr_la_CFLAGS = $(CAIRO_CFLAGS)
|
|
cairo_fdr_la_LDFLAGS = -module -no-undefined
|
|
cairo_fdr_la_LIBADD = -ldl
|