Hi Uday, Excerpts from Uday Verma's message of Fri Feb 05 06:15:40 +0000 2010:
>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. ClutterTexture and the underlying CoglTexture both consider (0,0) to be the top left and (1,1) the bottom right of your texture. When uploading data from a pointer, the pointer should reference the first, top-left texel. >From what you are saying it *sounds* like a bug in Clutter. I think it would help a lot if you are able to write a small test demonstrating exactly what you are trying (just runtime generating dummy source device data via malloc + a couple of for(;;) loops) If you could then attach the test to a bug on bugzilla: http://bugzilla.o-hand.com/enter_bug.cgi?product=Clutter I think that would really help us understand where the problem lies. kind regards, - Robert -- Robert Bragg, Intel Open Source Technology Center -- To unsubscribe send a mail to [email protected]
