> Enlightenment CVS committal > > Author : raster > Project : e17 > Module : proto > > Dir : e17/proto/gfx_routines > > > Modified Files: > blend.c > > > Log Message: > > > jose came up with some nice idea for a faster c blender... much nicer :) >
Oh no, I can't take credit for coming up with that particular routine. I spent an hour coming up with a variety of c blend routines, some nearly fast (but not quite) as that one, but via a different means, and some that were similar in approach but gave incorrect results for the alpha component... I suspected there was a way to do it via that approach, but I ran out of time and didn't think I was going to get it any time soon... So I decided to take look at what's being done by the people who actually do know what they're doing - namely I took a look at the xserver sources. There, in the CVS dir "xserver/fb/fbpict.h" I found some code that gave me the missing piece for how to do this - it was then a trivial matter to write things out as we wanted them. All credit must go to whoever came up with the idea found in that xserver code, not me. jose. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel