>> Is there a problem here? I was using with great success GL and cairo with no 
>> format conversion.
>> 
> 
> What GL/Cairo formats were you using out of interest ?

The "native" one on "normal" computers (I have no idea about embedded 
computers), which happens to be the Cairo one, the fastest as far as I know:
    (uint32) (((a) << 24) | ((r) << 16) | ((g) << 8) | (b))

On the GL side, something like:
     glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA, w, h, 0,
                           GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, data);
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us--
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to