cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/16/20:23:10

From: Christian Bird <cbird AT byu DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro lines vs. pixels
Date: Sun, 16 Feb 1997 16:06:20 -0700
Organization: Brigham Young University
Lines: 18
Message-ID: <330792EC.7443@byu.edu>
NNTP-Posting-Host: byu-0718.ln.byu.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've got a question for some of those allegro guru's out there.  I'm
writing a program right now that uses lines of length 2 to 4 pixels
long.  I'm using 640x480x256 grphics mode and I'm wondering if it's
faster to do a vline or 2 inline _putpixel's.  I would think that doing
the putpixels would be faster, but I'm not sure.  At some point they one
becomes faster than the other. Does anyone know which is faster for
certain length lines? Any help would be greatly appreciated.  Thanks a
lot!



-- 
  One Ring to rule them all, One Ring to find them,
  One Ring to bring them all and in the darkness bind them
In the Land of Mordor where the Shadows lie.

Christian Bird
cbird AT byu DOT edu

- Raw text -


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