🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5220

Faster cleardevice() needed

#5220
From: Gary D. Anderson
Date: Fri, 15 Mar 1991 00:00
13 lines
1170 bytes
	We are working on a program that does animated graphics on a variety
of displays (EGA, CGA, Hercules, etc.).  We are using Turbo C++ for this 
project. When we run the profiler, we find that the program is using up to
50% of the cpu time in cleardevice().   Does anyone have any suggestions for
a faster method for clearing the screen.  We have looked at "undrawing" the
screen but that is slower than cleardevice().  We are doing some fairly 
involved floating point calculations on the fly so we need to speed up the
graphics as much as possible to have smooth animation.  
			
Gary D. Anderson			anderson@secs.ucsc.edu
Thimann Laboratories, Department of Chemistry
University of California, Santa Cruz  CA   95064
Technical Details
Message-ID: <13431@darkstar.ucsc.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!darkstar!ANDERSON@EUREKA.ucsc.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!darkstar!ANDERSON@EUREKA.ucsc.edu
From: anderson@EUREKA.ucsc.edu (Gary D. Anderson)
Newsgroups: comp.os.msdos.programmer
Subject: Faster cleardevice() needed
Message-ID: <13431@darkstar.ucsc.edu>
Date: 15 Mar 91 00:00:38 GMT
Sender: usenet@darkstar.ucsc.edu
Reply-To: anderson@EUREKA.ucsc.edu
Organization: UCSC Molecular Engineering Laboratory
Lines: 13