How many Backbuffers?

BlitzMax Forums/BlitzMax Programming/How many Backbuffers?

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I seem to be able to open a single-buffered display in OpenGL no problem, no backbuffer. Drawing to the back draws to the front.

Are you telling me that you can see your drawing results without a flip?

-----------------------------------------------

I think that there is some confusion here about how all this flipping works.

Windowed Mode
Blits Backbuffer to Primary Surface (No Flipping) - Backbuffer remains as backbuffer

FullScreen Mode
Flips BackBuffer with Primary Surface - BackBuffer becomes primary and primary becomes BackBuffer.

So in fullscreen when you draw shape 1 it gets drawn to the Backbuffer, you flip, shape 1 is now in the primary buffer, you draw shape 2 and it's now drawn to the new backbuffer (old primary), do a flip and you draw shape 3 and it will be in the same buffer as shape 1.

Make sense?