Get rid of delegates for combiners
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 8 Jan 2012 15:32:47 +0000 (10:32 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 10 Jan 2012 14:04:37 +0000 (09:04 -0500)
commit065666f33c414582425e4ac0ec9f694e93c2baf1
tree7b5d71fa00762188b4eb9bfb8b63a28cf9edce94
parentab584ab500b4e7011a5b82051a90e2eea6744270
Get rid of delegates for combiners

Add a new function _pixman_implementation_lookup_combiner() that will
find a usable combiner given an operator and information about whether
the combiner should apply component alpha and whether it should be 64
bit.

In pixman-general.c use this function to look up a combiner up front
instead of walking the delegate chain for every scanline.
pixman/pixman-general.c
pixman/pixman-implementation.c
pixman/pixman-private.h