On Wed, Dec 14, 2005 at 09:01:58PM +0100, Denis Oliver Kropp wrote:
> 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?

Basically yes. I left the non-colorkeying 'op-only' functions in 
generic.c since they are common for all formats with the same pixel 
size. Also the alphapixel routines belong in the 'op/acc' category.

I'm not entirely happy with the current template file names. I'm 
thinking they should somehow describe the purpose but I couldn't come up 
with anything good. Any ideas?

-- 
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