RE: double buffering

new topic     » topic index » view thread      » older message » newer message

David,

Double buffering, in a nutshell, is the process of updating a screen 
buffer while another is being displayed.  In DOS, you might display one 
graphics page while updating another graphics page in memory.  When you 
are done updating, you blast the entire updated screen buffer to the 
display and the process starts over.

In windows using Win32Lib, you would typically use a Pixmap as a buffer 
and copyBlt that Pixmap to the Window when the update is done.  The 
result is faster, smoother animation because updating memory (your 
buffer) is typically much faster than updating the screen.

-- Brian

David S. wrote:
> Hi all,
> 
> When Derek was talking about graphic animation he mentioned the term 
> "double
> buffering". What is that?
> 
> Thanks,
> David S.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu