[clutter] [Clutter][Pyclutter] Bugs or features ?

2008-08-14 Thread Nati B
Hi, I've just started using the bindings for PyClutter 0.8, and it seems very nice. However, due to lack of documentation, I'll raise my questions here and hopefully someone will have answers: 1. Why do I need to prefix my overriding methods with 'do_' - e.g. do_paint, do_get_preferred_width,

[clutter] video rendering, clutter_threads_add_idle_full, clutter_texture_set_from_rgb_data

2008-08-14 Thread Roman Yazmin
Hi, I have a lot of threads in my application. One of them is used to provide video data to application. So, when new video frame is available I just put video data to queue and make call clutter_threads_add_idle_full(G_PRIORITY_HIGH, /* I tries over priority also, DEFAULT, LOW */

Re: [clutter] video rendering, clutter_threads_add_idle_full, clutter_texture_set_from_rgb_data

2008-08-14 Thread Roman Yazmin
Hi Neil, clutter_actor_queue_redraw is already called inside clutter_texture_set_from_rgb_data (in clutter_texture_set_cogl_texture to be more specific) You can do a clutter_actor_queue_redraw () call after updating the texture to force a redraw. -- Neil

Re: [clutter] [Clutter][Pyclutter] Bugs or features ?

2008-08-14 Thread Emmanuele Bassi
On Thu, 2008-08-14 at 11:53 +0200, Nati B wrote: Hi, I've just started using the bindings for PyClutter 0.8, and it seems very nice. However, due to lack of documentation, I'll raise my questions here and hopefully someone will have answers: 1. Why do I need to prefix my overriding methods

[clutter] pyclutter: nvidia weird linker bugs workaround causes problems

2008-08-14 Thread Jason Tackaberry
Hi, I spent the night trying to track down a very bizarre memory corruption issue and I've narrowed it down to this bit of code in clutter/__init__.py: # fixes weird linker bugs on nvidia try: import dl #sys.setdlopenflags(dl.RTLD_LAZY|dl.RTLD_GLOBAL)

Re: [clutter] pyclutter: nvidia weird linker bugs workaround causes problems

2008-08-14 Thread Jason Tackaberry
On Thu, 2008-08-14 at 23:07 -0400, Jason Tackaberry wrote: issue and I've narrowed it down to this bit of code in clutter/__init__.py: # fixes weird linker bugs on nvidia try: import dl #sys.setdlopenflags(dl.RTLD_LAZY|dl.RTLD_GLOBAL) except