home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!sgiblab!nec-gw!nec-tyo!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: gold@puck.esd.sgi.com (Michael Gold)
- Newsgroups: fj.mail-lists.x-window
- Subject: Re: How to make *shared-memory* Pixmaps on Sun 4?
- Message-ID: <1992Dec21.181245.6090@sm.sony.co.jp>
- Date: 21 Dec 92 18:12:45 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 30
- Approved: michael@sm.sony.co.jp
-
- Date: Fri, 18 Dec 92 22:45:35 GMT
- Message-Id: <tp3c8bg@zuni.esd.sgi.com>
- Newsgroups: comp.graphics.animation,comp.graphics,comp.sys.sun.apps,comp.sys.sun.hardware,comp.sys.sun.misc,comp.windows.x
- References: <9212171848.aa16515@Paris.ics.uci.edu>
- Sender: xpert-request@expo.lcs.mit.edu
-
- In <9212171848.aa16515@Paris.ics.uci.edu> honig@ruffles.ICS.UCI.EDU (David Honig) writes:
-
-
- >I'm trying to speed up a graphics application. I'd like one
- >process to handle file i/o, another to handle animation.
-
- >The animation process blasts X pixmaps to a window. The pixmaps
- >are made from XImages. XImages are made from a RAM buffer loaded
- >from disk. Standard X stuff.
-
- >I can use the BSD shmop() or SysV mmap() calls to get shared memory
- >for the disk --> RAM transfer and subsequent use of the RAM buffer by
- >multiple processes. But how can I have one process convert XImages
- >into (server-side) Pixmaps and then share those pixmaps with other
- >processes? That's the tricky part.
-
- >I have a suspicion that I can't do this, since the pixmaps are on the
- >server, and the processes are on the client side.
-
- This is exactly what the MIT-SHM extension gives you. I have no idea
- whether or not Sun supports this extension, nor if it can be built for
- the MIT server for Sun (though I suspect it should). (It is available
- on all SGI machines running IRIX 4.0 or later, though that probably
- doesn't help you.)
-