Blitz Plus is SLOWER than Blitz3D ?

BlitzPlus Forums/BlitzPlus Programming/Blitz Plus is SLOWER than Blitz3D ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

With BlitzPlus you need to consider which Image "method" you will adopt. This choice will depend on what you are doing. Now, for full screen stuff, you are best using a mode 2 Image ie.. Image=LoadImage("mypic.bmp",2)

You should really only need to use default images (Dynamic) if you wish to preserve the images during Graphics mode changes mid program. Dynamic Images can be slower as they are handled internally and can shift between system and graphics memory.

Now, this leaves Mode 2 and 4, mode 2, is great for full screen stuff (using the old Graphics command), as this is the same as Blitz3D and BlitzBasics image layout and is known as a "Managed" image. This means they are loaded into graphics memory and stay there (if graphics memory is available). But, during any graphics mode change will be lost.

Mode 4 on the other hand is a "Scratch" Image. This (I have found) is superb for canvas blitting. Basically this type of image is loaded into System memory, therefore any swapping and manipulation of these images is CPU dependant rather than GPU dependant. These type of images are ideal for applications and desktop games.

Anyhow, hope that clears things up a little.