Yeah I ran into something like this a while ago. I was using agg for
text rendering (only fixed width fonts) for a simple text editor and I
needed accurate text scaling. After I got everything to work
performance wasn't too hot, so I went and profiled things to narrow
down the bottlenecks. The final solution was to minimize the calls to
agg to *just* the exact bit of text that needed to be repaint, using
clipping, etc. At one point I even emailed here to ask about some of
the MMX optimized code, and when I tried that, the speedup was there,
but not by very much.
> does anybody profiled his application? Currently I have few ideas how
> to improve rendering speed in antigrain, but I will be interested
> about comments if this makes sense. I profiled my library and I see
> very big usage of trigonometric functions. These functions are
> generally slow, so here is first idea how to improve code.
What about a lookup table for stuff like that? Somewhere I've heard of
people doing that, though I don't recall exactly how they set it up.
Cheers
Jim
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects_______________________________________________
Vector-agg-general mailing list
Vector-agg-general@...
https://lists.sourceforge.net/lists/listinfo/vector-agg-general