Quoting Claudio Ciccani: > Denis Oliver Kropp wrote: > >Quoting Claudio Ciccani: > > > >>Anti-aliased Text 3.072 secs ( 49.218 KChars/sec) > >>Anti-aliased Text (blend) 3.083 secs ( 24.521 KChars/sec) > > > > > >If these are accelerated, I'll stick to the GeForce under Linux ;-) > > > > To draw anti-aliased text we need alphablend+colorizing and this can > be achieved setting the 'SepOperation' register to 5; the only problem > with that operation is that by default the source blend function is set > to ONE while the destination blend function is set to INVSRCALPHA.
We could use pre-multiplied ARGB glyph surfaces instead of A8. > Actually I am working to find how to change the blend functions and > I suppose the NV4_IMAGE_BLEND_PREMULT (0x67) object should be used to do > that. Since under X11 that object is never used, mapping the registers > under windows really could help me to understand how to make it work. IMAGE_BLEND_PREMULT might imply premultiplied data, or it might premultiply the data before blending ;) -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------"
