Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ames!pasteur!ucbvax!IRIS.KTH.DK!operator From: operator@IRIS.KTH.DK (Martin Liversage) Newsgroups: comp.sys.sgi Subject: GL multimap mode Message-ID: <9012051200.AA00357@iris.kth.dk> Date: 5 Dec 90 12:00:55 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 73 While trying to use multimap mode I discovered that the window in multimap mode would sometimes become garbled after a redraw. It seems like this problem gets worse if there is a imakebackground process (e.g. twilight). To test this I used a small program: --------------------------------------------------------------------- #include #include #if defined(ONEMAP) # define NAME "Multimap" #else # define NAME "Onemap" #endif int main() { long gid; short val; unsigned i; gid = winopen(NAME); #if !defined(ONEMAP) multimap(); gconfig(); setmap(1); #endif ortho2(0,10,0,10); qenter(REDRAW,gid); for (;;) { if (qread(&val) == REDRAW) { reshapeviewport(); for (i = 0; i < 10; ++i) { color((i + 1)*25); rectfi(i,0,i + 1,10); } } } } --------------------------------------------------------------------- I executed the program and then reshaped and moved the window around on the screen. Very rarely, but still sometimes, the contents of the window would become garbled. Then I ran a program for drawing the root window (using imakebackground()). Now the multimap program would have its window contents garbled more often. This is naturally difficult to judge, but I think I'm right. The problem persisted even after I killed the root window program. I had to restart the NeWS server (e.g. log out and back in) to get back to the first state where the problems is seen only very rarely. When I ran the program in onemap mode (by defining ONEMAP) the problem disappeared. What is going on? Am I doing something wrong or is this a GL/NeWS bug? I have Irix 3.2. Martin Liversage Royal Dental College Copenhagen Department of Pediatric Dentistry Norre Alle 20 DK-2200 Kobenhavn N