🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4365

Re: Graphics, clipping, and double-buffering in a window

#4365
From: Patrick John Horgan
Date: Sun, 15 Jul 1990 01:41
16 lines
1370 bytes
Gary Wolfe, SYSOP of the Temporal Vortex BBS said:

+..uflorida!unf7!tlvx!sysop, ..unf7!tlvx!sysop@bikini.cis.ufl.edu
+How slow are the built-in clipping routines?  I could always have my own
+draw function which clips the x & y before calling Draw(), but I'd rather
+use the system functions if there's nothing wrong with the performance.

I had an occasion to disassemble some of the graphics code awhile back,
(the first RKM's were wrong about how to do blitting of lines so I checked
to see how C= did it).  I was pleased to recognize the Cohen-Sutherland
Outcode algorithm used as the clipping algorithm.  You can't do much better
than that in a general clipping algorithm.  It's amazing how they can do
all that clipping constantly against damage-lists and still maintain such
good performance.  Way to got C=:)

Patrick Horgan                         phorgan@cup.portal.com
Technical Details
Message-ID: <31739@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!hellgate.utah.edu!helios.ee.lbl.gov!ucsd!usc!apple!portal!cup.portal.com!phorgan
References: <357@tlvx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!hellgate.utah.edu!helios.ee.lbl.gov!ucsd!usc!apple!portal!cup.portal.com!phorgan
From: phorgan@cup.portal.com (Patrick John Horgan)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Graphics, clipping, and double-buffering in a window
Message-ID: <31739@cup.portal.com>
X-Local-Date: 14 Jul 90 18:41:14 PDT
Date: 15 Jul 90 01:41:14 GMT
References: <357@tlvx.UUCP>
Organization: The Portal System (TM)
Lines: 16