[SDL] single pixel drawing

Loren Osborn linux_dr at yahoo.com
Tue Jul 16 10:56:00 PDT 2002

They are much less expensive than they used to be, but
Multiplies are still more expensive than adds, and you
don't want to do too many multiplies in an inner loop
if you can help it... (It just so happens that the
reason working with the blitters is a pain, is all the
bit-packing to reduce the number of multiplies and
divides: while conventional divides are slow, the
blitter only uses shifts, which are fast... In the
blitters the bottelneck is the multiplies!)


--- Neil Bradley <nb at synthcom.com> wrote:
> > That leaves two other potential bottelnecks:
> > pixel addressing (which you discussed).  While the
> > multiplies can be expensive, they can only be
> replaced
> On what platforms that SDL supports are multiplies
> expensive? Don't say
> x86 or PPC...
> -->Neil
> Neil Bradley            What are burger lovers
> saying
> Synthcom Systems, Inc.  about the new BK Back Porch
> Griller?
> ICQ #29402898	        "It tastes like it came off
> the back porch." - Me
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl

Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes

More information about the SDL mailing list