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