PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Page Flipping - should I use?

Hello,
I do apologize if this question is stupid, however, my logic says, that if I write directly to the video memory of PocketPC, it must be faster than drawing to a backbuffer and then copying its content to video memory (main buffer).

Indeed, I would like to know if it is worth to use double buffereing, and how much time can it save, if any. I have iPaq 4700hx with VGA resolution. Can anybody express in percentage, how much time can i save by using double buffering?

thanks and have a nice day,
Rene.
historically, writing to the backbuffer allows you to create the 'screen' without worrying about update rates of the screen updating 'mid-draw'

but the main advantage is that accessing the screen directly is a LOT slower than accessing normal memory, so it's better to minimise how often you access it - i.e. it's a lot faster to do all your drawing to the backbuffer and then move that over than it is to do all the little draws direct to the screen

percentage / performance differences vary between devices, but trust me - the backbuffer approach is the way to go ;)
Hello Muff,

I thank you for perfect advice.. So the main slowdown is in display sinchronization with the memory, even if there is no like separate video memory, but its in main memory.

I will therefore use Double buffering from now. Thank you a lot, and have a nice day.

Rene.