TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Brian Converse
from: Michael Duffy
date: 1994-12-29 21:17:28
subject: Re: Fast line drawing

-=> Quoting Brian Converse to Michael Duffy <=-

 MD> operations, as well as a variety of line styles.  Is there a
 MD> faster way to generate lines?  I may have to go with my own line
 MD> drawing routine...
 
 MD> Do the device drivers for video
 MD> cards implement line drawing routines, and if so, are they fast
 MD> (probably)  and how does one access them? 

 BC> some do. yes. you can't, other than through the standard interface.

[explanation on how to access video cards' services directly deleted]

 BC> ... Calling existing driver services will not appreciably help you
 BC> over PM calls, since these are generic and lose efficiency getting
 BC> mapped onto the hardware.

Yeah, I wasn't planning on accessing any video card directly at the expense
of other cards.  Heck, if I wanted to do that I'd be working in DOS instead
of OS/2! :-)  I just thought that the Gpi routines would be a bit slow since
they have a variety of raster operation codes, and the support of those
undoubtably slows things down.  I need a simple, fast "give it two endpoints, 
a color, and let `er rip" line drawing routine.  I was wondering if there  
were an interface just below the Gpi level.

I've decided to try drawing with my own line drawing routine to an off-
screen buffer, and using DIVE to throw it to the screen.  I (finally)
got my DevCon CD, so today I'm studying how DIVE works.  

Thanks for the reply,
-Michael Duffy

... Sorry, I don't do Windows.
--- GEcho 1.11+
* Origin: Knight Mare 405 672 5644 (1:147/3006)
SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430
SEEN-BY: 711/807 808 809 934 942 949 712/353 515 713/888 800/1
@PATH: 147/3006 1032 3615/50 229/2 12/2442 711/409 808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.