Mail Archives: djgpp/1998/02/03/20:58:25
From: | "John M. Aldrich" <fighteer AT cs DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: dubble buffering
|
Date: | Tue, 03 Feb 1998 19:24:02 -0500
|
Organization: | Two pounds of chaos and a pinch of salt.
|
Lines: | 20
|
Message-ID: | <34D7B522.6745@cs.com>
|
References: | <01bd30f9$1418c700$a23470c2 AT siddiqui>
|
NNTP-Posting-Host: | ppp204.cs.com
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Siddiqui wrote:
>
> sorry about the ignorance, but what is dubble buffering?
"Double buffering" (note spelling) is a graphical algorithm used to
reduce screen flicker. When you use double-buffering, your graphics
code does not write directly to the screen, but instead to a buffer in
memory with the same characteristics as the screen. Once a frame is
ready to display, the program waits for a vertical sync (the period of
time during which the electron ray is travelling from the bottom right
corner of the screen to the top left), and then "blits," or copies, the
data to screen memory.
--
---------------------------------------------------------------------
| John M. Aldrich | "Animals can be driven crazy by pla- |
| aka Fighteer I | cing too many in too small a pen. |
| mailto:fighteer AT cs DOT com | Homo sapiens is the only animal that |
| http://www.cs.com/fighteer | voluntarily does this to himself." |
---------------------------------------------------------------------
- Raw text -