delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/23/20:10:28

Message-ID: <3631349E.B70621ED@geocities.com>
From: Sahab Yazdani <sahaby AT geocities DOT com>
X-Mailer: Mozilla 4.5b2 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Fastest Method of Virtual Buffer->Video Memory?
Lines: 18
Date: Fri, 23 Oct 1998 20:59:58 -0500
NNTP-Posting-Host: 209.148.144.2
X-Complaints-To: abuse AT sprint DOT ca
X-Trace: HME2.newscontent-01.sprint.ca 909191231 209.148.144.2 (Fri, 23 Oct 1998 21:07:11 EDT)
NNTP-Posting-Date: Fri, 23 Oct 1998 21:07:11 EDT
Organization: Sprint Canada Inc.
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'd like to know what is the fastest method for putting an x-sized
virtual buffer into video-memory.

Reading from a book: "PC Game Programming Explorer" the Dirty Rectangles
technique seems the fastest (Only copy portions that were used), but I'd
like to know if there is even a faster method?

Also if I translate an "unsigned char *" to an "long long *" will I get
a faster copy time?  because I'll be only copying 1/4 the data?  I read
somewhere that this is true?
-- 
**********************************************************************
* Sahab Yazdani              *    Let the Dragon ride again on the   *
* Thornhill Secondary School *     winds of Time - Wheel of Time     *
**********************************************************************
* http://www.geocities.com/TimesSquare/Bunker/8994/index.html        *
* Click the link to visit my portion of The Neverhood                *
**********************************************************************

- Raw text -


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