Hi, while Jason is trying to find a way to show mplayer or xine in a clutter texture I'm busy creating a higher level widget set for Freevo based on clutter. It works very well up until today.
I have a grid widget (clutter.Group) with some images in it. All imges have a reflection. The reflection clutter.Texture is based on cairo (I took the code from entertainer or gloss). This means software rendering. It is possible to scroll in the grid widget. When I scroll down to a row not drawn yet I create the missing widgets on the fly. This means I create x images and x reflections. Doing that makes the scroll animation not smooth anymore. The reason is simple: it takes some time to load the images and way too much time to render the reflection. For the first problem I could use some async loader stuff from gdkpixmap, but how to solve the reflection delay? I'm not allowed to do that in a thread but I'm still thinking of a way to do it anyway (is cairo thread-safe?). I found the reflection widget based on GL in the toys and tidy directory. My problem: I use Python. Is there an easy way to create an actor in C and add Python bindings to it? I don't want to use tidy Python bindings because you wrote that tidy is always work in progress and that there would be no release. IMHO the reflection is a nice actor that should be in clutter core but even if you move it, the problem may come back when I have another idea. So I have the following questions: - Can I use threads somehow to do some non-clutter stuff like loading pixmaps or using cairo? - How can I create bindings for self-made actors? I hope someone can help Dischi -- Bills travel through the mail at twice the speed of checks. -- To unsubscribe send a mail to [EMAIL PROTECTED]
