From 7b3424a39edbfe5ccd44f2ebec8348964b8189fb Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Fri, 12 Oct 2007 22:46:17 +0200 Subject: [PATCH] Use the CAIRO_EXTEND_REPEAT on the second pattern to because that is somewhat faster. --- perf/composite_checker.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/perf/composite_checker.c b/perf/composite_checker.c index 28ee073..d1d0597 100644 --- a/perf/composite_checker.c +++ b/perf/composite_checker.c @@ -75,6 +75,7 @@ composite_checker (cairo_perf_t *perf, SRC_SIZE); src_pattern = cairo_pattern_create_for_surface (image); cairo_pattern_set_filter (src_pattern, CAIRO_FILTER_NEAREST); + cairo_pattern_set_extend (src_pattern, CAIRO_EXTEND_REPEAT); cairo_perf_run (perf, "composite_checker", do_composite_checker); -- 1.5.3.4