
22 Apr
2010
22 Apr
'10
10:49 p.m.
On Fri, 2010-04-23 at 00:29 +0200, Krzysztof KosiĆski wrote:
Another thing, instead of allocating 256K buffers on demand, it might be better to create one big Cairo surface, and then split it into chunks using cairo_surface_create_for_region. This could simplify multithreaded software rendering, as threads won't need to allocate any memory for the output, but I don't see this function anywhere in the public API of Cairo.
Don't hesitate to ask on the Cairo list about this. They tend to be pretty responsive and they may also have recommendations to eek out the most performance.
Cheers, Josh