diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-07-12 16:06:32 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-07-12 16:33:38 +0100 |
commit | 679e5a600bd7dae6cbde83070fb1f7355f8025a7 (patch) | |
tree | 97cab6a3ba733d77e61a128036d3b495b8db9e0d /src/drm/cairo-drm-i965-surface.c | |
parent | 8546a877889bfafc056c867bc9aea25e9fdcdef0 (diff) |
Differentiate between reducing clip to composite extents and a rectangle
This is required for handling glyphs when rendering directly to the
surface.
Diffstat (limited to 'src/drm/cairo-drm-i965-surface.c')
-rw-r--r-- | src/drm/cairo-drm-i965-surface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drm/cairo-drm-i965-surface.c b/src/drm/cairo-drm-i965-surface.c index a944fb3c8..e578d6f97 100644 --- a/src/drm/cairo-drm-i965-surface.c +++ b/src/drm/cairo-drm-i965-surface.c @@ -1110,7 +1110,7 @@ i965_surface_paint (void *abstract_dst, if (unlikely (status)) return status; - if (clip != NULL && _cairo_clip_contains_rectangle (clip, &extents)) + if (clip != NULL && _cairo_clip_contains_extents (clip, &extents)) clip = NULL; if (clip != NULL) { @@ -1163,7 +1163,7 @@ i965_surface_mask (void *abstract_dst, if (unlikely (status)) return status; - if (clip != NULL && _cairo_clip_contains_rectangle (clip, &extents)) + if (clip != NULL && _cairo_clip_contains_extents (clip, &extents)) clip = NULL; if (clip != NULL && extents.is_bounded) { @@ -1306,7 +1306,7 @@ i965_surface_stroke (void *abstract_dst, if (unlikely (status)) return status; - if (clip != NULL && _cairo_clip_contains_rectangle (clip, &extents)) + if (clip != NULL && _cairo_clip_contains_extents (clip, &extents)) clip = NULL; if (clip != NULL) { @@ -1413,7 +1413,7 @@ i965_surface_fill (void *abstract_dst, if (unlikely (status)) return status; - if (clip != NULL && _cairo_clip_contains_rectangle (clip, &extents)) + if (clip != NULL && _cairo_clip_contains_extents (clip, &extents)) clip = NULL; if (clip != NULL) { |