Hello again, 2010/7/29 Emmanuele Bassi <[email protected]>: > >> 1) My first requirement is that we can set the texture data using a >> pointer to char*, like in >> http://github.com/aalex/proto-toonloop/blob/proto-gtkglext/src/gui.cpp >> on line 368. (that's where the interesting Toonloop development is >> hidden these days!) > > ClutterTexture has the API to do exactly that: > > • clutter_texture_set_from_rgb_data() > http://docs.clutter-project.org/docs/clutter/stable/ClutterTexture.html#clutter-texture-set-from-rgb-data >
Actually, I just remembered of Clutter-GST... This is exactly what I need, since my video input is some GStreamer element for a video camera. My prototypes are going well! I also use the gdkpixbufsink GStreamer element to take snapshots. What is the most efficient way to use this GdkPixbuf data as a Clutter Texture? Note that this GdkPixbuf will not be saved to disk. Thanks again, -- Alexandre Quessy http://alexandre.quessy.net/ _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
