🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Layers speed (was Re: 1.4 Wish: Revamped sizing gadget)

#1932
From: Jim Mackraz
Date: Mon, 30 Oct 1989 21:36
53 lines
2513 bytes
)>In article <8779@ardent.UUCP> (comp.sys.amiga) Rob Peck writes:
)>> a GIMMEZEROZERO window prevents Intuition from rendering its gadgets and
)>> borders into the superbitmap.  Intuition does this by providing -->5<---

)In article <66.filbo@gorn.santa-cruz.ca.us> filbo@gorn.santa-cruz.ca.us (Bela Lubkin) writes:

)>Could this alternatively be implemented by TWO layers, one for the drawable
)>area and one that covers the entire window?  This would waste a bunch of

In article <5165@cps3xx.UUCP> porkka@frith.UUCP (Joe Porkka) writes:
)How about making it be two layers, with the partially obscured
)layer being SIMPLE_REFRESH ---> not much wasted mem.

That's right, Joe, this is a more logical way to do G00 windows.
Fortunately, that's how it's implemented.  The overhead is in the
part of layers that manages "dicing", a rectangular decomposition
of the screen area that can represent any layer at any depth
as a union of rectangles.

I don't know where in History Rob picked up the ">5< layers" 
thing, but I've never seen anything of like that in Intuition.
It would be much worse when moving the window.

)Much better idea -> Make layers be nestable. Then you could do
)something like this:
)
)rast=screen.RastPort;
)
)	nw.Raster=rast;
)	win1=OpenWindow(&nw);
)
)	nw2.Raster=win1->Raster;
)	win2=OpenWindow(&nw2);
)
)This would place win2 inside of win1, much like windows are
)now contained in screens.
)This would provide GIMMEZEROZERO type windows for free, so to speak.

Yes, something called "panes."

)I suppose the guys at CBM will think this is hard to do or something,
)right ? :-)

A simple matter of programming ...  Actually, I've found a nice
spot to hook that in, so maybe some day ...

	jimm

-- 
--------------------------------------------------	- opinions by me
"This voice console is a *must*.  I press Execute. 
 `Hello, I know that you've been feeling tired.
  I bring you love and deeper understanding.' "		-lyrics by Kate Bush
Technical Details
Message-ID: <4769@amiga.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!oliveb!amiga!jimm
References: <8779@ardent.UUCP> <66.filbo@gorn.santa-cruz.ca.us> <5165@cps3xx.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!oliveb!amiga!jimm
From: jimm@amiga.UUCP (Jim Mackraz)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Layers speed (was Re: 1.4 Wish: Revamped sizing gadget)
Message-ID: <4769@amiga.UUCP>
Date: 30 Oct 89 21:36:23 GMT
References: <8779@ardent.UUCP> <66.filbo@gorn.santa-cruz.ca.us> <5165@cps3xx.UUCP>
Reply-To: jimm@batgirl.UUCP (Jim Mackraz)
Organization: Commodore-Amiga Inc, Los Gatos CA
Lines: 53