Quoting Stefan Seefeld <[EMAIL PROTECTED]>:

> I didn't even know the visual *contains* alpha channel data !
> While the pixel format allows for alpha bits, all the visuals I have
> inspected had only r, g, and b bits.

I made the assumption (I know, assume makes an ass of u and me) that a
GT_32BIT display use the last 8 bits as an alpha channel. It sounded natural
since a ggi_color is defined as :

struct {
        uint16 r, g, b, a;
}

So I thought the alpha channel would be packed in the ggi_pixel
if the visual supports it. If not I think the 'a' is useless and
confusing since ggi doesn't do alpha blending at all.

Regards.

Reply via email to