Hello all, I am trying to upload RGB24 data onto a ClutterTexture using clutter_texture_set_area_from_rgb_data function. I am getting this data from a top-down source device. When I upload this data, things work great but the color and the image are inverted. I think this is expected since the data layout for OGL textures is a little different.
I fixed the color by using the BGR flag, but I think to correct the image I need to invert the y texture coordinate. ClutterTexture doesn't seem to provide this functionality, and the set_area_from_rgb_data function doesn't take -ve height/width to invert how data is filled in. Also, I can probably deal with this by playing with my buffers, but these buffers are not very small to not cause an overhead. I am thinking of writing my own actor now, very similar to the ClutterTexture but with texture coordinates flipped (perhaps by deriving from it and overriding the paint method). So I was wondering if people around here have a few suggestions. Thanks, Uday
