Mirage Engine
Blt to Memory - Printable Version

+- Mirage Engine (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Blt to Memory (/showthread.php?tid=1887)



Blt to Memory - shaded - 02-07-2008

I just had a simple question. Is it faster to use bitblt from one picture box to another or to always load to memory no matter what? And which requires more memory? I know MS stores most of it to memory, but I believe that in certain times in map editor it is just drawing from what is loaded to a picture box and then to another 32x32 picture box.

Could someone explain a bit about it. I know how to do both, but just curious which is best and for which circumstance.


Re: Blt to Memory - Coke - 02-07-2008

When you perform it from one picture box to another, where do you think its stored before its rendered on the second picture box?


Re: Blt to Memory - shaded - 02-07-2008

So then you should just always store it to memory unless the image is already available? And you are implying it's the same, except that in one instance you are wasting space by having an image already loaded to picture box?


Re: Blt to Memory - shaded - 02-07-2008

Ok, so there is no reason to blit from another image if you have no use from it.


Re: Blt to Memory - Robin - 05-07-2008

Mirage already loads all the graphics into memory for Dx7, then it re-loads them all into memory elsewhere for BitBlt.

Use BltToDC.

If possible, do your entire ingame screen in Dx7.


Re: Blt to Memory - shaded - 05-07-2008

Ok thanks, that is good to know. Smile