nanogui: double buffer


Previous by date: 2 Aug 2007 18:20:08 +0100 Re: FLTK 2.0 followup, Greg Haerr
Next by date: 2 Aug 2007 18:20:08 +0100 Re: convfnt32.exe, Petro Verheuvel
Previous in thread:
Next in thread:

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   |  ####@####.####

Previous by date: 2 Aug 2007 18:20:08 +0100 Re: FLTK 2.0 followup, Greg Haerr
Next by date: 2 Aug 2007 18:20:08 +0100 Re: convfnt32.exe, Petro Verheuvel
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.