www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/13/16:46:51

From: Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: What is faster as memcpy???
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <ahpvrsk85aa5timiempvrlfa9adl0bmhvk@4ax.com>
References: <CCPv5.8958$l6 DOT 494172 AT zwoll1 DOT home DOT nl>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 24
X-Trace: /K0ZEBilVlrm4mr5qM4e7FK/OSnuQfjp4wJOMJF+jW8LpYd3bCLG2GmH6w8T7CA99qiL3z5X4Fpb!znvI2TuiOnRahq3LmkaE8XZIsg5Wj4VPSfljwG4/XX195Ss0nhX/a8ttpSPoMDY0Ifa5b9llfmNw!Oh3cQB0=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 13 Sep 2000 20:41:02 GMT
Distribution: world
Date: Wed, 13 Sep 2000 20:41:02 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 13 Sep 2000 18:23:30 GMT, "Riox92" <t-bos AT home DOT nl> wrote:

>Its for a VESA2.0 24bit LFB Switch routine.
>
>Now i use memcpy. on a screen of 640*480*24bit screen.
>But on little objects dots the switch looks to slow.. Please can someone
>help me out...

You're moving 900 KB of data per frame.  Without hardware
acceleration, this will be slow.

>Its so iritating to work with it.. even a simple starfield is looking
>messy.. except for 1 pixel speeds

How about only memcpy()ing the parts of the screen that have changed?
Search Google for [dirty rectangles  ]

-- 
MS (n)  1. A debilitating and surprisingly widespread affliction
  that renders the sufferer barely able to perform the simplest
  task.  2. A disease, multiple sclerosis (see).

This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses.  http://www.mcafee.com/

- Raw text -


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