Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Xlib/Pixmap Problem
@ 1993-06-07  1:45 outias
  1993-06-07 15:38 ` Jason Schmidt
  0 siblings, 1 reply; 2+ messages in thread
From: outias @ 1993-06-07  1:45 UTC (permalink / raw)


      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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-06-07 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-07  1:45 Xlib/Pixmap Problem outias
1993-06-07 15:38 ` Jason Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox