allow to use cairo-image/software surface for canvas & cairowidgets

This commit is contained in:
Robin Gareus 2014-10-28 02:15:10 +01:00
parent 6dc3a4bf61
commit b04414d170
5 changed files with 94 additions and 9 deletions

View file

@ -716,6 +716,11 @@ def configure(conf):
# TODO put this only where it is needed
conf.env.append_value('LIB', 'regex')
# work around GdkDrawable BitBlt performance issue on windows
# see http://gareus.org/wiki/ardour_windows_gdk_and_cairo
conf.env.append_value('CFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
conf.env.append_value('CXXFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
# Tell everyone that this is a waf build
conf.env.append_value('CFLAGS', '-DWAF_BUILD')