[cairo] Multi-threaded cairo

KwangYul Seo kwangyul.seo at gmail.com
Mon May 12 00:44:28 PDT 2008


I found it is definitely unsafe to use a single context with multiple
threads. But is it okay to use multiple cairo contexts with the same surface
simultaneously?

On Sun, May 11, 2008 at 6:54 PM, KwangYul Seo <kwangyul.seo at gmail.com>
wrote:

> Hello.
>
> Is it possible to use cairo from multiple threads simultaneously? I want
> to draw an image with multiple threads simultaneously. Those threads divide
> the surface and only draw their own region. I wonder if I can do this with a
> single cairo context shared by multiple threads. If it is possible, does it
> mean that I can gain performance boosts if I use it in multi-core machines?
>
> Thanks,
> Kwang Yul Seo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080512/3ecc3949/attachment.html 


More information about the cairo mailing list