home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18795 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.8 KB

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