[cairo] [PATCH 1/3] image: _clip_get_single_path() does not skip box paths anymore

Taekyun Kim podain77 at gmail.com
Tue Jun 21 00:23:48 PDT 2011

_clip_get_single_path() is used by paint and fill to check if clip
consist of a single path. We can ignore box only when at least one
path is fully contained (covered) by that box because they will be
intersected to get final clip area.

If clip consists of multiple paths and all of them are boxes, we
can use rectangle intersection to avoid render via mask. This
optimization can be done later.
 src/cairo-image-surface.c |   16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-image-_clip_get_single_path-does-not-skip-box-paths-.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110621/714e118c/attachment.bin>

More information about the cairo mailing list