[cairo] [PATCH] add "surface_transform" parameter to "replay_and_create_regions" function

Guillaume Ayoub guillaume.ayoub at kozea.fr
Thu Jun 20 03:11:26 PDT 2013


This patch adds a "surface_transform" parameter to the
"replay_and_create_regions" function.

It was already done in surface_replay_with_clip, as the matrix is
obviously needed for the clip. But now, because of the optimization
done in commit 09b42c7, it's also needed by replay_and_create_regions:
get_target_extents clips the target surface for performance issues, and
therefore needs the surface_transform matrix to get the right clipping
surface.

I can provide further information if needed.

This patch had already been submitted in May
(http://lists.cairographics.org/archives/cairo/2013-May/024301.html),
I send it again with an appropriate subject.
-- 
Guillaume

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-fix-extents.patch
Type: text/x-patch
Size: 3248 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130620/f60ca517/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130620/f60ca517/attachment-0001.pgp>


More information about the cairo mailing list