mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-19 19:20:50 +01:00
We refactor the surface fallbacks to convert full strokes and fills to the intermediate polygon representation (as opposed to before where we returned the trapezoidal representation). This allow greater flexibility to choose how then to rasterize the polygon. Where possible we use the local spans rasteriser for its increased performance, but still have the option to use the tessellator instead (for example, with the current Render protocol which does not yet have a polygon image). In order to accommodate this, the spans interface is tweaked to accept whole polygons instead of a path and the tessellator is tweaked for speed. Performance Impact ================== ... Still measuring, expecting some severe regressions. ...
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
include $(top_srcdir)/build/Makefile.am.common
|
|
|
|
SUBDIRS = . cairo-script
|
|
|
|
if BUILD_TRACE
|
|
SUBDIRS += cairo-trace
|
|
endif
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src
|
|
|
|
EXTRA_PROGRAMS += show-traps show-edges show-events
|
|
|
|
show_traps_SOURCES = show-traps.c
|
|
show_traps_CFLAGS = $(gtk_CFLAGS)
|
|
#show_traps_LDADD = $(top_builddir)/src/libcairo.la $(gtk_LIBS)
|
|
show_traps_LDADD = $(gtk_LIBS)
|
|
|
|
show_edges_SOURCES = show-edges.c
|
|
show_edges_CFLAGS = $(gtk_CFLAGS)
|
|
#show_edges_LDADD = $(top_builddir)/src/libcairo.la $(gtk_LIBS)
|
|
show_edges_LDADD = $(gtk_LIBS)
|
|
|
|
show_events_SOURCES = show-events.c
|
|
show_events_CFLAGS = $(gtk_CFLAGS)
|
|
#show_events_LDADD = $(top_builddir)/src/libcairo.la $(gtk_LIBS)
|
|
show_events_LDADD = $(gtk_LIBS)
|
|
|
|
util: malloc-stats.so backtrace-symbols.so
|
|
|
|
.la.so:
|
|
$(RM) $@
|
|
$(LN_S) .libs/$*.so $@
|
|
|
|
CLEANFILES += *.so
|
|
|
|
# The -rpath is needed to build shared objects that are not installed,
|
|
# ie. with EXTRA_LTLIBRARIES
|
|
AM_LDFLAGS = -module -avoid-version -export-dynamic -rpath /dev/null
|
|
|
|
EXTRA_LTLIBRARIES += malloc-stats.la backtrace-symbols.la
|
|
|
|
backtrace_symbols_la_LIBADD = -lbfd -liberty
|
|
|
|
#malloc_stats_la_LIBADD = $(backtrace_symbols_la_LIBADD) backtrace-symbols.lo
|
|
|
|
if HAVE_GTK
|
|
EXTRA_PROGRAMS += font-view
|
|
font_view_CFLAGS = $(gtk_CFLAGS)
|
|
font_view_LDADD = ../src/libcairo.la $(gtk_LIBS)
|
|
endif
|
|
|
|
EXTRA_DIST += \
|
|
COPYING \
|
|
xr2cairo \
|
|
cairo-api-update \
|
|
cairo-view \
|
|
waterfall
|