home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / x / 18858 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.7 KB

  1. Xref: sparky comp.windows.x:18858 comp.sys.sgi:16122
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!mouse
  3. From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
  4. Newsgroups: comp.windows.x,comp.sys.sgi
  5. Subject: Re: request for help with X gc draw fcn porting sun->sgi
  6. Message-ID: <1992Nov7.104103.19827@thunder.mcrcim.mcgill.edu>
  7. Date: 7 Nov 92 10:41:03 GMT
  8. References: <1992Nov4.060050.27565@cuug.ab.ca>
  9. Organization: McGill Research Centre for Intelligent Machines
  10. Lines: 29
  11.  
  12. In article <1992Nov4.060050.27565@cuug.ab.ca>, fieldd@cuug.ab.ca (Dan Field 283-7034) writes:
  13.  
  14. > [problems porting some code form XView on a Sun to X on an SGI]
  15.  
  16. > One remaining problem has to do with using the function code for a
  17. > GC.  [...]  [A]ny of the function codes that read the destination
  18. > pixel have no visual effect.  However, when I use the copy, the
  19. > write, or the clear function code, I always end up drawing in the
  20. > foreground color.
  21.  
  22. This sounds from your description like a server bug, and a really weird
  23. one at that.  Much more likely is that you're doing something else
  24. wrong and don't realize it.
  25.  
  26. > Note that this problem does not occur when the code runs on a Sun.
  27.  
  28. My first question would be to ask whether it works correctly when the
  29. code is running on the SGI but it's displaying on the Sun's display.
  30. This, and the converse experiment (run the program on the Sun,
  31. displaying on the SGI) should let you determine whether it's the client
  32. or the server that's at fault.
  33.  
  34. It also might be of some use to run it under a protocol spy like xscope
  35. or some such, to see what's really going on...
  36.  
  37.                     der Mouse
  38.  
  39.                 mouse@larry.mcrcim.mcgill.edu
  40.