mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 09:08:16 +02:00
xcb: Use a mask in _composite_boxes() when needed
This doesn't just need a clip without any path, it also needs pixel aligned boxes. This improves the result for unaligned boxes in tighten-bounds. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
e580565e28
commit
cdd75ec407
1 changed files with 1 additions and 1 deletions
|
|
@ -2515,8 +2515,8 @@ _composite_boxes (cairo_xcb_surface_t *dst,
|
|||
cairo_boxes_t *boxes,
|
||||
const cairo_composite_rectangles_t *extents)
|
||||
{
|
||||
cairo_bool_t need_clip_mask = extents->clip->path != NULL;
|
||||
cairo_clip_t *clip = extents->clip;
|
||||
cairo_bool_t need_clip_mask = ! _cairo_clip_is_region (clip);
|
||||
cairo_region_t *clip_region = _cairo_clip_get_region (clip);
|
||||
cairo_status_t status;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue