Keith Packard <[EMAIL PROTECTED]> wrote:

> > Are the red/green/blue_masks specified in the word order of the X server,
> > and as such be swapped if client and server have different byte orders?
>
> You don't need to deal with the mask values stored in the XImage structure;
> they're strictly informative for applications using GetImage.  The relevant
> mask information for Render images comes from the associated PictFormat
> structure.  And, data seen by your application is always in the 
> applications byte order.

Unfortunately, I am not using Render -- this has to work on old X servers too.
Is there a client library for getting PictFormats even when the RENDER
extension is not available?

How do I tell XPutImage where my color components are in the 32, 16 or 8 bits?
How do I select a format that is "fast"? 

Tor

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to