It looks that when I call XGetImage and XPutImage on pixmap, X11 still
goes to the X Server and back. Is it really neccessary or there is a way
to save the time?
You might look into the shared memory versions, XShmPutImage() and
friends. When the X server and client are both running on the same
host, the shared memory versions are much faster. The image copying
*requests* still go through the X message queue but the image *data*
can be accessed directly via the shared memory. Since images use
a lot of data, this matters!
Documentation for XShmPutImage() can be hard to come by. If you
can't find it, let me know and I'll send you what I have.
I would like to know if there is a possibility to convert a XRT pixmap,
which is currently 32x32, into a 16x16 one. If you know the trick,
please let me know. I work with Solaris 2.6, dticon for composing new
icons, and a xbmbrowser.
I appreciate you help.
Ramiro Barbosa, Jr.