[cairo] will clip region decrease the performance of filliing?
Kalle Vahlman
kalle.vahlman at gmail.com
Mon Sep 13 11:54:27 PDT 2010
2010/9/13 oken <okenjian at 163.com>:
> Hi,all,
> In what situation will the clip region decrease the performance of
> filliing?
> I find it that I my program if I reset the clip before filling, it will be
> much faster.
> It my program, if i don't reset the clip, calling cairo_fill to fill 500
> rectangles takes about 20ms, which i think is too long!
> Any suggestions to improve the performance of cairo_filling?
I believe this FAQ entry could be right on the money:
http://cairographics.org/FAQ/#clipping_performance
--
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.com
Interesting stuff at http://sandbox.movial.com
See also http://syslog.movial.fi
More information about the cairo
mailing list