home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / docs / maillist / text / archive.94 / text0603.txt < prev    next >
Encoding:
Internet Message Format  |  1996-03-31  |  2.0 KB

  1. Received: from sloth.swcp.com (sloth.swcp.com [198.59.115.25]) by nacm.com (8.6.9/8.6.9) with ESMTP id SAA04725 for <executor@nacm.com>; Mon, 28 Nov 1994 18:58:35 -0800
  2. Received: from iclone.UUCP (uucp@localhost) by sloth.swcp.com (8.6.9/8.6.9) with UUCP id UAA09527 for nacm.com!executor; Mon, 28 Nov 1994 20:00:04 -0700
  3. Received: by iclone (NX5.67d/NX3.0M)
  4.     id AA18729; Mon, 28 Nov 94 19:52:24 -0700
  5. Date: Mon, 28 Nov 94 19:52:24 -0700
  6. From: "Mathew J. Hostetter" <iclone!mat@sloth.swcp.com>
  7. Message-Id: <9411290252.AA18729@iclone>
  8. To: executor@nacm.com
  9. Subject: Re: Linux Executor
  10. Sender: owner-executor@nacm.com
  11. Precedence: bulk
  12.  
  13. Jeff Tupper <mooncake@csri.toronto.edu writes:
  14. >Where are the bitmaps/icons etc. stored on the Linux version of executor?
  15. >Obviously, they would originate at the client, but are they cached on the
  16. >server? (by watching if the mac memory holding the bitmap was changed) I
  17. >implemented a copybits-like routine a few weeks back and was wondering what
  18. >kind of trade-offs you guys made when doing yours.
  19.  
  20. All versions of executor maintain an internal bitmap corresponding to
  21. the actual screen.  We accrue a "dirty rect" as the program draws to
  22. what it thinks is the screen via Executor's QuickDraw implementation.
  23. We periodically update the _real_ screen (e.g., the X window) by
  24. transferring the dirty rect across.  So basically our graphics
  25. interface to the host machine consists of nothing more than blitting
  26. rectangles to the screen, which aids our portability.  Under X, we use
  27. shared memory extensions for speed, but we don't do anything fancy
  28. like trying to cache Mac fonts on the X server side.  Spending time
  29. trying to do so would be a bad idea for a number of reasons I won't go
  30. into.
  31.  
  32. "Refresh" mode is useful when the program directly manipulates the
  33. frame buffer itself.  In this mode, we periodically analyze the
  34. internal screen memory to decide what has been changed, and transfer
  35. the changed data to the real screen.
  36.  
  37. -Mat
  38. mat@ardi.com
  39.  
  40.