delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/08/09:37:04

From: eglebbk AT phys DOT uva DOT nl (Evert Glebbeek)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using (page-flipping) to speed up a program
Date: Sat, 08 Jul 2000 12:55:51 GMT
Organization: Physics student, University of Amsterdam
Lines: 29
Distribution: world
Message-ID: <396723f6.6882204@news.wins.uva.nl>
References: <395e61e0_2 AT spamkiller DOT newsfeeds DOT com> <395fcb12_1 AT spamkiller DOT newsfeeds DOT com> <39622a8e DOT 1248934 AT news DOT wins DOT uva DOT nl> <39626821_2 AT spamkiller DOT newsfeeds DOT com> <39635adf DOT 1264089 AT news DOT wins DOT uva DOT nl> <3963b310_1 AT spamkiller DOT newsfeeds DOT com> <39648ccb DOT 16302165 AT news DOT wins DOT uva DOT nl> <39650011_4 AT spamkiller DOT newsfeeds DOT com> <3965e613 DOT 16882830 AT news DOT wins DOT uva DOT nl> <3966aa33_1 AT spamkiller DOT newsfeeds DOT com>
NNTP-Posting-Host: stol-117-236.uva.studentennet.nl
X-Trace: info.wins.uva.nl 963060880 25640 145.98.117.236 (8 Jul 2000 12:54:40 GMT)
X-Complaints-To: usenet AT science DOT uva DOT nl
NNTP-Posting-Date: Sat, 8 Jul 2000 12:54:40 +0000 (UTC)
X-Newsreader: Forte Free Agent 1.11/32.235
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Newsgroup: comp.os.msdos.djgpp
 From: "23yrold3yrold" <cbarry AT pangea DOT ca>
 On Fri, 7 Jul 2000 11:23:29 -0500

>
>>>I found that info program
>> >but it doesn't seem to have anything in it about checking to see if
>> >triple-buffering or page-flipping will work on my computer.
>
>> IIRC, the program lists GFX_CAPABILITIES flags somewhere. One of them
>> should be GFX_CAN_TRIPLE_BUFFER.
>
>I noted the mention of those flags in the Allegro docs, but I don't know how
>to access them. If they're in that Info program they're hidden but good (at
>least to dense little old me :). Are they for reference or can they be
>manipulated somehow?( turn GFX_CAN_TRIPLE_BUFFER on/off?)
No, the flags are turned on by the Allegro code to show what the
graphics is capable of. You have to & the flags to the
gfx_capabilities variable.
Anyway, I've completed my small demo program that shows multiple
screen update methods. It's too long to post here, so I've uploaded it
to the following address:
http://www.science.uva.nl/~eglebbk/download/SCRNUPD.ZIP
it also uses the gfx_capabilities flag, so it should also illustrate
how to use that. If you have problems with it, feel free to ask.

Regards,

Evert Glebbeek.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019