diff options
author | Vladimir Vukicevic <vladimir@pobox.com> | 2009-06-15 11:15:22 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 17:07:35 +0100 |
commit | d7faec024ac9f702c9bb305599ef8960a972491a (patch) | |
tree | d99af8ee33f9b2a020ecb89aea79baaec82489e1 /configure.ac | |
parent | af6df4af51ad75a956e3b73542647206ab534bd2 (diff) |
Add skia backend
Originally written by Vladimir Vukicevic to investigate using Skia for
Mozilla, it provides a nice integration with a rather interesting code
base. By hooking Skia underneath Cairo it allows us to directly compare
code paths... which is interesting.
[updated by Chris Wilson]
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 1bd1fc2d7..b726cd427 100644 --- a/configure.ac +++ b/configure.ac @@ -142,6 +142,19 @@ AM_CONDITIONAL(CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE, test "x$test_win32_printin dnl =========================================================================== +CAIRO_ENABLE_SURFACE_BACKEND(skia, Skia, no, [ + AC_ARG_WITH([skia], + [AS_HELP_STRING([--with-skia=/path/to/skia], + [directory to find compiled skia sources])], + [skia_DIR="$withval"], + [skia_DIR="`pwd`/../mesa"]) + skia_NONPKGCONFIG_CFLAGS="-I$skia_DIR/include/config -I$skia_DIR/include/core -I$skia_DIR/include/effects" + skia_NONPKGCONFIG_LIBS="$skia_DIR/out/libskia.a" + AC_SUBST(skia_DIR) +]) + +dnl =========================================================================== + CAIRO_ENABLE_SURFACE_BACKEND(os2, OS/2, no, [ case "$host" in *-*-os2*) |