[Pixman] [PATCH 0/11] Use macros to generate fetchers

Søren Sandmann sandmann at cs.au.dk
Fri Sep 2 15:06:26 PDT 2011

This patch series change pixman-access.c to generate most accessors
with macros and inline functions instead of writing out the code for
all the functions. This is a fairly significant saving in terms of
lines of code:

 pixman-access.c  | 3159 +++++++++++--------------------------------------------
 pixman-private.h |   43 
 pixman-utils.c   |   34 
 3 files changed, 724 insertions(+), 2512 deletions(-)

but the main motivation is that will eventually make it easier to add
floating point fetchers so that we can add a floating point pipeline.

Comments welcome.


More information about the Pixman mailing list