Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: outias@cc.newcastle.edu.au
Subject: Xlib/Pixmap Problem
Date: Mon, 7 Jun 1993 01:45:45 GMT	[thread overview]
Message-ID: <1993Jun7.114545.1@cc.newcastle.edu.au> (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


             reply	other threads:[~1993-06-07  1:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-07  1:45 outias [this message]
1993-06-07 15:38 ` Xlib/Pixmap Problem Jason Schmidt
read-only archive

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