From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,fa6c530d33b0384,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-06-06 19:20:31 PST Newsgroups: comp.sys.dec Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!wupost!uunet!munnari.oz.au!metro!seagoon.newcastle.edu.au!cc.newcastle.edu.au!outias From: outias@cc.newcastle.edu.au Subject: Xlib/Pixmap Problem Message-ID: <1993Jun7.114545.1@cc.newcastle.edu.au> Sender: news@seagoon.newcastle.edu.au Organization: University of Newcastle, AUSTRALIA Date: Mon, 7 Jun 1993 01:45:45 GMT I have some odd behaviour of the Xlib graphics routines in conjunction with a pixmap. A friend of mine and I were trying to generate an "animated" mimic display by writing Xlib graphics data to a pixmap, then using X$COPY_AREA to move it from the pixmap to a visible window. The picture had to be updated and recopied on a 250 millisecond cycle time. Instead of a smooth sequence of updates, we would get a pause, then a rapid burst of updates, then a pause again, and so on in the visible window. The first reaction was that it was either an X$COPY_AREA limitation or an Ethernet limitation. To test this, we modified the program to write the data direct to the visible window, then use X$COPY_AREA to copy the finished version to another section of the window. Interestingly enough, this one worked perfectly; the updates occurred at constant intervals and the animation looked quite good. We then tried a test program involving writing data to the pixmap once, then using X$COPY_AREA to generate multiple copies in the visble window. That also worked normally, as far as we could tell. We eventually decided that the problem lay in writing the graphics data to the pixmap; either the writes themselves were causing delays, or the operation of X$FLUSH wasn't standard. The system we're running consists of a MicroVAX 3100/80 with VMS 5.5-2. The monitors are Tektronix XP330 series, using their TekXpress X-Windows software (Version 6.0, I _think_), connected via thinwire Ethernet using the DECNet protocol. Can anyone offer any comments, suggestions, remarks or (best of all) fixes for this? Failing that, can anyone state definitively that what we're trying to do is impossible for some reason? Thanks in advance Andrew Hide Systems Engineer, Industrial Automation Services Pty Ltd Newscastle, NSW, AUSTRALIA Ph: (049) 58 7200 Fax: (049) 58 1395 outias@cc.newcastle.edu.au