diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-07-24 13:51:23 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-08-29 08:08:28 +0100 |
commit | 9d51c03bad5f10257e248f43375062902482c0c4 (patch) | |
tree | 9cb2893ef2340889596b3883ee6f8082d14d5192 /src/cairo-surface-fallback.c | |
parent | f8bb3617c3a7ec598c42eff1f8562e3ccc95127f (diff) |
[traps] Compute extents on demand.
Diffstat (limited to 'src/cairo-surface-fallback.c')
-rw-r--r-- | src/cairo-surface-fallback.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cairo-surface-fallback.c b/src/cairo-surface-fallback.c index 7ab12b4d..c23481c2 100644 --- a/src/cairo-surface-fallback.c +++ b/src/cairo-surface-fallback.c @@ -752,16 +752,6 @@ _clip_and_composite_trapezoids (const cairo_pattern_t *src, /* Otherwise render the trapezoids to a mask and composite in the usual * fashion. */ - if (_cairo_operator_bounded_by_mask (op)) { - cairo_rectangle_int_t trap_extents; - cairo_box_t trap_box; - - _cairo_traps_extents (traps, &trap_box); - _cairo_box_round_to_rectangle (&trap_box, &trap_extents); - if (! _cairo_rectangle_intersect (extents, &trap_extents)) - return CAIRO_STATUS_SUCCESS; - } - traps_info.traps = traps; traps_info.antialias = antialias; |