You are not logged in.
Hi,
Is there any doublebuffering function in the lib?
Wanna draw a pacman like map and then show it on screen. Then render the new map in background and then draw this on screen.
Is this possible?
Offline
Pretty sure that double buffering is already built in as internally there are two frame buffers that get flipped between with the results of any drawing not being displayed until you use the GRRLIB_Render command
Offline
What do you want to achieve with your double buffering?
There is sort of 2 forms of double buffering being used right now. One of them is that you draw to the graphics memory, then copy this to the display memory(what is on the TV or whatever), with your actual draws never being visible (no-flicker). This is memory-copy double buffer.
The second double buffering that happens is that you will draw to page 1(display memory), start showing this on the TV, and while you are in the middle of showing, start drawing on page 2(display memory). This is the memory-flipping double buffer.
That's sort of 3 buffers... 1 on the graphics chip, 2 in memory that are flipped between.
Offline