delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/07/10:30:29

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: Fri, 07 Jul 2000 14:22:45 GMT
Organization: Physics student, University of Amsterdam
Lines: 38
Distribution: world
Message-ID: <3965e613.16882830@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>
NNTP-Posting-Host: stol-117-155.uva.studentennet.nl
X-Trace: info.wins.uva.nl 962979696 19867 145.98.117.155 (7 Jul 2000 14:21:36 GMT)
X-Complaints-To: usenet AT science DOT uva DOT nl
NNTP-Posting-Date: Fri, 7 Jul 2000 14:21:36 +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 Thu, 6 Jul 2000 08:51:29 -0500

>
>"Evert Glebbeek" <eglebbk AT phys DOT uva DOT nl> wrote in message
>news:39648ccb DOT 16302165 AT news DOT wins DOT uva DOT nl...
>> Newsgroup: comp.os.msdos.djgpp
>>  From: "23yrold3yrold" <cbarry AT pangea DOT ca>
>>  On Wed, 5 Jul 2000 09:13:23 -0500
>
>> >I played with the example program for triple-buffering that came with
>> >Allegro; I can AUTODETECT in 640 x 480, and although it does tri-buf, it
>> >won't display my sprites properly (they look like a huge mess of random
>> >pixels). I'll keep trying to get that or page-flipping to work.
>
>> That's strange. Does it do things like rect_fill() properly?
>
>Circle_fill() is what the program is set to do, and does OK. Originally the
>code is Mode-X in 320 x 240, but I successfully got it to work Autodetecting
>in 640 x 480 (circle_fill() and all). Funny that the sprite is so screwy
>because the code I use for blitting is exactly the same as the code I have
>in my rough game code (which works fine). Also, 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 can't get either to work reliably so I guess I'm stuck double-buffering for now. If
>you still would send a skeleton code for either (you mentioned it a few
>posts back) it might help my solve this, if not I'll just double buff ( I
>don't know how much trouble it would be for you.)
It shouldn't be much trouble at all, I'm just going to have to get a
minimal program to work that illustrates it's use. I think I can have
it posted somewhere tomorrow.

Regards,

Evert Glebbeek

- Raw text -


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