On 1 Oct 2002, Morten Sylvest Olsen wrote:

> Hi..
> 
> Could anybody enlighten me on the proper use and understanding of the
> values {red,green,blue}_mask in the Visual and XImage structures. I
> assumed that X would convert between fx. RGB and BGR color ordering from
> image to server by setting these masks according but they seem to make
> absolutely no difference (also I cannot find where in the source this
> conversion would take place either). 
> 

  I never understood why these were in the XImage structures.

  The Visual masks indicate how a pixel breaks up into RGB components.
This is necessary for you to know when filling in XImage data.  
But the point of the masks in the XImage structure escape me
since there is no conversion going on during PutImage.


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

Reply via email to