is there anything I should know about sending an Image to a SGI via
XPutImage. I only have access to a DEC Alpha and a HP so I depend
on error reports from other people.
This is what my Program thinks the display is:
Display : 272914256
Byte Order: 1
Bitmap unit: 32
Bitmap Bit Order: 1
Bitmap Pad: 32
Bytes per Line: 0
Bits per Pixel: 32
Also the owner confirms it is a 24 bit display.
At the moment I'm doing the following:
a) XListDepths = > use the highest number I can get
b) XIm= XCreateImage(Display, Visual, Depth(s.above),
ZPixmap, 0, NULL, 0, 0, BitmapPad(HWI->dpy), 0);
creates an Image structure for an Image of size 0 x 0.
c) I check the information in this structure (like bits_per_pixel)
byte_order etc. to select the correct display routine.
So whats wrong ?????????
XPutImage insists on:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 72 (X_PutImage)
Serial number of failed request: 2870
Current serial number in output stream: 2871
Using XListPixmapFormats didn't work on my Alpha, so this out of question
I checked the algorithm on a DEC Alpha and a HP PA-Risc with 1,2,4,8 and 24
bit display, but I don't have access to a 32 bit display (32 bits per pixel)
Any ideas someone ??????