nanogui: double buffer
Subject:
double buffer
From:
"Aaron J. Grier" ####@####.####
Date:
2 Aug 2007 18:20:08 +0100
Message-Id: <20070802172004.GR22036@mordor.unix.fryenet>
On Wed, Jul 25, 2007 at 10:07:36AM +0200, Daniel Nyström wrote:
> Which is the preferable way to gain "dubble buffer" effect? I would
> like to finish drawing in memory, and then switch buffer as fast as
> possible to make it look smoother.
draw into a (offscreen) pixmap, then GrCopy() to the screen.
ideally your screen driver will turn the GrCopy() into a blit operation.
--
Aaron J. Grier | Frye Electronics, Tigard, OR | ####@####.####