Article View: comp.sys.sgi.graphics
Article #96Re: can you make readdisplay() read back buffer
From: Ron Janzen
Date: Fri, 08 Jan 1993 21:11
Date: Fri, 08 Jan 1993 21:11
26 lines
1424 bytes
1424 bytes
In <1iiavsINN8p4@fangio.asd.sgi.com> rck@fangio.asd.sgi.com (Robert Keller) writes: >rjanzen@alias.com (Ron Janzen) writes: >>Does anybody know of a way to read the back buffer in the same way as >>readdisplay() can read what is displayed on the screen? > ><...good description of how readdisplay() works and why I couldn't use it> > >>It must be >>possible since snoop (a demo program supplied by SGI) can do it. > >snoop uses lrectread(3G) to just Rambo-out the pixels. I had tried using lrectread() and readsource() but I always figured you had to do some weird junk to read outside the bounds of your window. So I messed around with fullscrn()/endfullscrn() and other distasteful routines all to no avail. Anyways after reading this article, I changed my program to just read outside the bounds of my window and presto! it worked. thanks for the hint, ron -- Ron Janzen Alias Research Inc., Toronto rjanzen@alias.com
Technical Details
Message-ID:
<1993Jan8.211148.28054@alias.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uunet.ca!geac!alias!rjanzenReferences:
<1993Jan7.170216.1065@alias.com> <1iiavsINN8p4@fangio.asd.sgi.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.graphics Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uunet.ca!geac!alias!rjanzen From: rjanzen@alias.com (Ron Janzen) Subject: Re: can you make readdisplay() read back buffer Message-ID: <1993Jan8.211148.28054@alias.com> Sender: news@alias.com (News Owner) Organization: Alias Research, Inc., Toronto ON Canada References: <1993Jan7.170216.1065@alias.com> <1iiavsINN8p4@fangio.asd.sgi.com> Date: Fri, 8 Jan 1993 21:11:48 GMT Lines: 26