Can I create a HUGE bitmap and then display it?

BlitzMax Forums/BlitzMax Programming/Can I create a HUGE bitmap and then display it?

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.

No it wouldn't
A card does not keep anything, it is like RAM.

On DX Side, DX itself manages the needed stuff in VRAM according its rendering.
In OpenGL you must do it or BM does it by reuploading images from pixmaps as needed.

But in both cases, we are not talking about keeping stuff in VRAM.

We are talking about what you need to render!

If you use larger images, you potentially risk to keep a large image in VRAM and render it even if you only need a small part on a corner of that image. That effect is reduced with smaller images where only a subsection of the image is used.

As well as mentioned above: most users don't have XX GB bandwidth on their video cards, so its a wise decision not to block it with 90% of image data you do not need (-> large images).
Especially as we are talking of 2D here. If you do 2D, follow common 2D principles. Might be that current cards are very capable in 3D, but believe me, thanks to their total incapability on the over draw end, you will bring them down extremely fast with 2D if you don't use all the tricks known from pure 2D!