delorie.com/archives/browse.cgi | search |
From: | arg AT whangomatic DOT freeserve DOT co DOT uk (Andrew R. Gillett) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Allegro:Page Flipping or Double Buffer? |
Date: | Sat, 5 Jun 1999 00:19:48 +0100 |
Organization: | www.release-dates.co.uk |
Message-ID: | <MPG.11c26f727ca3435c98ad1a@news.freeserve.net> |
References: | <7j95u2$ov3$1 AT news3 DOT saix DOT net> <3758584A DOT 42D96F62 AT c2i DOT net> |
NNTP-Posting-Host: | modem-53.name11.dialup.pol.co.uk |
X-Trace: | news4.svr.pol.co.uk 928538393 15267 62.136.165.53 (4 Jun 1999 23:19:53 GMT) |
NNTP-Posting-Date: | 4 Jun 1999 23:19:53 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Newsreader: | MicroPlanet Gravity v2.11 |
Lines: | 22 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
In comp.os.msdos.djgpp, Henrik Stokseth wrote: > Methos wrote: > > > What is usually faster: Page Flipping or double buffer? My guess is Page > > Flipping, but why does it flicker so much when I implement it? What am I > > doing wrong? > > page flipping is faster and smoother. As I said, it depends on the video card, and what kind of things you are doing. For example, transparency may be a lot faster using double buffering if you have a slow video card. > use vsync() to time the page flips in order to remove the flickering... scroll_screen() waits for a vsync automatically. -- Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage I collect trash in my brain; I believe you do the same.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |