Pixmap and Image speeds

BlitzMax Forums/BlitzMax Programming/Pixmap and Image speeds

Shagwana(Posted 2004) [#1]
Anyone tested the speeds that these two operate at?. What results did you get?

I presume pixmaps are slower, but by how much!.


ImaginaryHuman(Posted 2004) [#2]
On my iMac G4 1GHz with an Nvidea Radeon 4MX gfx card, a routine using images ran at least around 10 times faster than the same routine using pixmaps. That's because that computer has hardware graphics acceleration. If the computer it's running on only has software OpenGL, likelyhood is that pixmaps may be slightly faster than images. That's mainly because pixmaps can't be drawn with rotation or scaling, they are drawn as rectangular areas only, so may be faster than drawing a similar non-rotated non-scaled image. But if you have hardware graphics acceleration (which not all people do), Images are definitely a lot faster (like I said, about 10 times here).


Bot Builder(Posted 2004) [#3]
Yeah, windows comes with software emulation ogl which makes performance horrible unless you upgrade your drivers. XP doesnteven come with it. Since, OGL is actually better than directX in most resepcts (other than pixel shaders :( ).