Hi,
Can any one please tell me why we use the
CLUTTER_TEXTURE_RGB_FLAG_BGR flags.From the code i saw that it is doing
coversion between RGBA to ABGR format, but i am not able to understand the
reason behind it.
When some one is using the
clutter_texture_set_from_rgb_data(), they are passing the
ClutterTextureFlags as NULL, but when this function is called from
clutter-x11 backend, this function is called with the
CLUTTER_TEXTURE_RGB_FLAG_BGR flag i.e. when it is trying to create a
texture from a Xpixmap, it seems we need this flag.
Does X do any
these sort of conversion while rendering?..Can any one please throw some
light here?
Regs,
Rahaman.

Reply via email to