I've been toying around with the idea of using some pre-processor magic 
in order to reduce the amount of code in generic.c.

I've put my current template header files here:
http://www.sci.fi/~syrjala/directfb/template/

I roughly separated the headers so that one header only cares about 
separating color from alpha (eg. color keying) and the other header 
cares about individual ARGB components.

There are separate headers for 16bpp and 32bpp. Many of the functions 
are pretty much identical except for __u16 vs. __u32 but I think it 
might be a good idea to keep them separate in case someone wants to 
further optimize the 16bpp code.

What do you guys think?

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to