mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-24 09:00:12 +01:00
Try using the lighter-weight LZO decompressor in an effort to speed up replays (at the cost of making the bound traces slightly larger). Presuming that with the slight increase in file size (from -1% to +10%), the file data remains in the readahead buffer cache, replays see a performance improvement of between 5-10%. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
include $(top_srcdir)/util/cairo-script/Makefile.sources
|
|
|
|
SUBDIRS = examples
|
|
|
|
lib_LTLIBRARIES = libcairo-script-interpreter.la
|
|
EXTRA_PROGRAMS = csi-replay csi-exec csi-bind
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src
|
|
|
|
cairoincludedir=$(includedir)/cairo
|
|
cairoinclude_HEADERS = cairo-script-interpreter.h
|
|
libcairo_script_interpreter_la_SOURCES = \
|
|
$(libcairo_script_interpreter_sources) \
|
|
$(libcairo_script_interpreter_headers) \
|
|
$(NULL)
|
|
libcairo_script_interpreter_la_CFLAGS = $(CAIRO_CFLAGS)
|
|
libcairo_script_interpreter_la_LDFLAGS = -version-info $(CAIRO_LIBTOOL_VERSION_INFO) -no-undefined $(export_symbols)
|
|
libcairo_script_interpreter_la_LIBADD = $(top_builddir)/src/libcairo.la $(CAIRO_LIBS) $(lzo_LIBS) -lz
|
|
|
|
csi_replay_SOURCES = csi-replay.c
|
|
csi_replay_CFLAGS = $(CAIRO_CFLAGS)
|
|
csi_replay_LDADD = libcairo-script-interpreter.la $(top_builddir)/src/libcairo.la $(CAIRO_LIBS)
|
|
|
|
csi_exec_SOURCES = csi-exec.c
|
|
csi_exec_LDADD = libcairo-script-interpreter.la $(top_builddir)/src/libcairo.la $(CAIRO_LIBS)
|
|
|
|
if CAIRO_HAS_SCRIPT_SURFACE
|
|
EXTRA_PROGRAMS += csi-trace
|
|
csi_trace_SOURCES = csi-trace.c
|
|
csi_trace_LDADD = libcairo-script-interpreter.la $(top_builddir)/src/libcairo.la $(CAIRO_LIBS)
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
COPYING
|