re animation with xputimage in article apr infodev cam ac uk dcr mail ast cam ac uk derek c richardson writes i just implemented this and it seems i can just about achieve the display rates x x frames sec on ipx that i get with sunview though it s a bit choppy at times also loading the data making an ximage then xput ing it into a pixmap is a bit cumbersome so the animation is slower to load than with sunview is there a better way to load in the data rgooch rp csiro au richard gooch writes if you need speed and your client can run on the same host as the x server you should use the shared memory extension to the sample x server mit shm xdpyinfo will tell you if your server has this extension this is certainly available with the sample mit x server running under sunos a word of warning make sure your kernel is configured to support shared memory and another word of warning openwindows is slower than the mit server i have written an imaging tool using xview for the gui by the way which yields over frames per second for bit images running on a sparc ipc half the cpu grunt of an ipx this has proved quite sufficient for animations regards richard gooch shared memory putimage also mentioned by nkissebe delphi beckman uiuc edu nick kisseberth looks interesting but i need someone to point me to some documentation is this method likely to give better results than server resident pixmaps i d also be interested in looking at the xview code mentioned above thanks for the help so far if i get something decent put together i ll definitely post it to the net the mit tapes come with documentation written by keith packard on the shared memory extension to x look in mit doc extensions mit shm ms i found this invaluble unfortunately there is a bit of work to set up the shared memory segments making an ximage from it etc also there is an extension query to determine if the server supports it but you still need to test if the server is running on the same host and if shared memory is enabled in the kernel i have written layers of convience routines which make all this transparent as for the xview code well i doubt that would be considered interesting the interesting stuff is done in a c object library people interested in this code can email me regards richard gooch rgooch atnf csiro au
