Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!elroy.jpl.nasa.gov!ames!sgi!shinobu!odin!cashew.asd.sgi.com!kurt From: kurt@cashew.asd.sgi.com (Kurt Akeley) Newsgroups: comp.sys.sgi Subject: Re: reading overlay planes on non-PI machines Message-ID: <1990Oct10.023911.25529@odin.corp.sgi.com> Date: 10 Oct 90 02:39:11 GMT References: <1990Oct9.180347@bucrf11.bu.edu> Sender: news@odin.corp.sgi.com (Net News) Reply-To: kurt@cashew.asd.sgi.com (Kurt Akeley) Organization: sgi Lines: 15 readback of the overlay/underlay/popup bitplanes is supported for GT, GTX, and VGX machines in the 3.3 release. it is documented on the readsource manpage, but it is complicated. basically, you can ignore readsource, as lrectread will return pixels from the currently active framebuffer, as specified by the drawmode command. therefore, to read or write pixels in the overlay bitplanes, simply set drawmode to OVERDRAW and call the appropriate read or write commands. likewise for underlay and popup bitplanes. most pixel reading applications can now ignore readsource. -- kurt p.s. readback of overlay/underlay/popup bitplanes in this manner is also supported by the 3.3 personal iris release. it also continues to support readsources SRC_OVER, SRC_UNDER, and SRC_PUP, which will not be implemented on any other machines.