Ville Syrjälä wrote:
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/
Might be a good way to go before modularizing the pixel formats.
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.
You mean op-only vs. op/acc?
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.
Good :)
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev