Commit Graph
6 Commits
Author SHA1 Message Date
Steve Checkoway 1b96c0da14 Use fixed point math for the inner loop of ZoomSurface(). This gives a huge speedup on PowerPC.
Note that 16777216=2^24 is 1.0 in U(8,24) fixed point and 8388608=2^23 is 0.5. Also, single precision IEEE floating point has 23 bits of mantissa and U(8,24) has 24 bits of fraction so no precision is lost.
2007-10-27 16:36:54 +00:00
Glenn Maynard 231171a7f8 cleanup 2006-09-10 08:37:10 +00:00
Glenn Maynard 2b9f484548 spacing (only) 2006-02-14 11:30:53 +00:00
Glenn Maynard a980f83474 assertions 2005-12-23 19:07:14 +00:00
Steve Checkoway 417461540b dstwidth, dstheight >= 0 2005-12-23 12:54:45 +00:00
Glenn Maynard 24250824de At the cost of losing change history, I'm renaming a couple "SDL" filenames
that no longer have any connection to SDL; the names are just too confusing.
2005-01-20 01:26:15 +00:00