[cairo] Multithreading for pixman (was JIT for pixman)

keita abdoul-kaker abdoulk.keita at gmail.com
Wed Jan 14 15:50:52 PST 2009

i was also looking into using OpenMP for adding support or
mulltithreading.As you said it is easy and very portable but i am
still wondering if it wont cause some interference if the application
using pixman is already multithreaded.

In my attempts,i added openMP directive to the
pixman_walk_composite_region(), just after the call of
piman_region32_rectangle(). the load is then shared among many
thread.Does this sound like the good spot to exploit parallelism ?

André Tupinambá,
are you frequently on the irc channel ? we could discuss about
possible solution together

On Wed, Jan 14, 2009 at 3:34 PM, André Tupinambá <andrelrt at gmail.com> wrote:
> Hi,
> Is anyone working to add multithread support to pixman? This can be
> easily implemented using OpenMP, but I don't know if is a good
> approach.
> I will try to create a proof of concept with and without OpenMP.
> Soeren,
> Do you have any approach in mind? Can I use pthreads for all
> environment, or I need to create a version of "pixman-thread.c" for
> each one? And about OpenMP?
> Regards,
> André Tupinambá
> On Thu, Jan 8, 2009 at 2:24 PM, Soeren Sandmann <sandmann at daimi.au.dk> wrote:
>> I consider a JIT compiler for pixman and multithreading in cairo and
>> pixman the two most important long-term projects right now, so thanks
>> for your interest in this.
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo

More information about the cairo mailing list