[cairo] Operator optimization based on source or dest opacity
sandmann at daimi.au.dk
Wed Feb 27 09:44:24 PST 2008
Behdad Esfahbod <behdad at behdad.org> writes:
> On Wed, 2008-02-27 at 00:36 -0500, Antoine Azar wrote:
> > I'm also attaching another patch (to be applied first) that cleans up
> > further pixman-compose.c by moving all the composition operators to
> > their own files, pixman-compose-operators.c/h
> This may have a measurable negative impact, as 1) the functions can't be
> inlined and 2) they will go through PLT entries now. Consider moving
> them into a .h file and making them static.
I am not worried about inlining. Most of these functions are called
through function pointers anyway.
As for PLT, note that pixman uses -fvisibility-hidden by default when
compiled with GCC, so as long as they are not exported with
PIXMAN_EXPORT, they won't be dynamically linked.
More information about the cairo