[cairo] pixman: New ARM NEON optimizations

Soeren Sandmann sandmann at daimi.au.dk
Wed Dec 2 07:43:41 PST 2009


Siarhei Siamashka <siarhei.siamashka at gmail.com> writes:

> As you noticed earlier, software RENDER extension implementation in xserver
> suffers from creating and destroying temporary pixman_image_t structures for
> each operation in fbComposite function (PicturePtr and pixman_image_t are
> practically duplicates of each other). But this is not a good excuse to be
> wasteful regarding CPU cycles in pixman too. If anything can be simplified and
> optimized even a bit with relatively little efforts, probably this should be
> done. Or is it better to fix xserver first and then look at pixman performance
> again?

As long as the X server is creating and destroying images all the
time, I don't think it makes a lot of sense to optimize pixman for
tiny images. 

When the X server is fixed, it would make a lot of sense to look into
how to get pixman to deal with tiny images, whether they are glyphs or
just small, general images. The flags branch helps a bit with that,
but there is still overhead on some profiles.


Soren


More information about the cairo mailing list