🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #108

Re: redraw is too slow

#108
From: Mark Linton
Date: Fri, 24 Jul 1992 20:24
16 lines
1503 bytes
In article <1992Jul24.105423.23497@Informatik.TU-Muenchen.DE>, wunsch@Informatik.TU-Muenchen.DE (Patrick Wunsch) writes:
|> we have an aplication that draws 80000 points and 60000 faces, which is obviously
|> very slow.
|> 
|> The Problem is that every time we click on the pulldown menu, the glyph gets
|> a 'damage' and starts redrawing itself (->15 sec wait), then when we let go
|> of the mouse button, i.e. choose an entry, it redraws again. :-<<<
|> The same happens for every dialog box which is opened.
|> 
|> Then we tried to put the pulldown menu at the bottom of the window, so that
|> it won't damage the glyph. But that didn't help either.

Sounds like you do not have a damage check around your area with points/faces.
The draw traversal relies on the objects to short-circuit full redraws.  Perhaps
putting a patch around the point area would solve the problem, but I would need
to know more about your instance structure to speculate further.
Technical Details
Message-ID: <nn5m7eo@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!wupost!cs.utexas.edu!sun-barr!ames!sgi!odin!fido!marktwain.rad.sgi.com!linton
References: <1992Jul24.105423.23497@Informatik.TU-Muenchen.DE>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!wupost!cs.utexas.edu!sun-barr!ames!sgi!odin!fido!marktwain.rad.sgi.com!linton
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: redraw is too slow
Keywords: redraw
Message-ID: <nn5m7eo@fido.asd.sgi.com>
Date: 24 Jul 92 20:24:45 GMT
References: <1992Jul24.105423.23497@Informatik.TU-Muenchen.DE>
Sender: news@fido.asd.sgi.com (Usenet News Admin)
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Lines: 16