Re: [clutter] Strategies for composing a stage with many small actors

2010-05-03 Thread Julien Pauty
Hello, You can try to animate the anchor-x and anchor-y properties for scrolling. These properties affect only the paint phase, their animation should not retrigger allocation. This will avoid some python virtual method calls. HTH, Julien 2010/4/30 Martin Wilz martin.w...@gmail.com Hello,

[clutter] Re: Question about pyclutter: clutter.Texture.get_data()

2010-03-16 Thread Julien Pauty
Hello, Here is a small snippet that creates a copy of a texture using cogl_texture.get_data. I'm not sure this is the best way to achieve what you're trying to do, but it shows how to use this method. # texture is a Texture where you have drawn, possibly a Cairo texture cogl_t =

[clutter] Animation framerate problem

2009-05-19 Thread Julien Pauty
Hello, I'm using a simple animation that scales up a actor when the mouse passes over the actor. My application is paged based, similar to a media center. At application start up, I create all pages and hide them all, except the current one. If I remove most of the pages and just keep the current

[clutter] how to implement the Container interface in python

2009-02-23 Thread Julien Pauty
Hello, I'm trying to implement a container in python. I have something like this: class Cont(clutter.Actor, clutter.Container): __gtype_name__ = 'Cont' def __init__(self): clutter.Actor.__init__(self) clutter.Container.__init__(self) def do_add(self, child):

[clutter] Group size handling in clutter

2009-02-10 Thread Julien Pauty
Hello, I have a couple of question regarding groups' size. The documentation says that requests to modify group size will be ignored. However, you can actually change the size of a group. This has no impact on the display, but the group's size stays to the set value, whatever the actors

Re: [clutter] VLC in Clutter texture

2009-01-29 Thread Julien Pauty
2009/1/28 Arnaud VALLAT rno@gmail.com Hello, Yep it would be cool if we can give it a try :-) Got a question for you, since you directly render to a clutter texture, we can easily resize video during playback (through libvlc) without re-initializing vlc, right ? I have also implemented

Re: [clutter] VLC in Clutter texture

2009-01-28 Thread Julien Pauty
Hello, I did it. I actually started from this example. My current solution, though, is different. I made a video_output for VLC that draws into a clutter texture. I need to clean it up a bit, and then I will submit to vlc. There were some annoying points while developping this, but the VLC

Re: [clutter] VLC in Clutter texture

2009-01-28 Thread Julien Pauty
really nice ! Can we give it a try ? Regards, Rno On Sun, Jan 25, 2009 at 10:26 PM, Julien Pauty julien.pa...@gmail.comwrote: Hello, I did it. I actually started from this example. My current solution, though, is different. I made a video_output for VLC that draws into a clutter texture. I

Re: [clutter] clutter-gst video-player.

2009-01-22 Thread Julien Pauty
2009/1/22 Jason Tackaberry t...@urandom.ca When clutter-gst has a new frame to draw, it attaches an idle callback at G_PRIORITY_HIGH_IDLE (== 100). When there's a timeline running, it runs at CLUTTER_PRIORITY_TIMELINE (== 30). (As with nice, lower value is higher priority.) I assume this

Re: [clutter] about webkit clutter

2008-11-25 Thread Julien Pauty
You can find here http://bugzilla.openedhand.com/show_bug.cgi?id=887 a patch to add a python binding to clutter-webkit. We used that patch to integrate webkit in our application. This should be adaptable to clutter 0.8 without too much difficulties. You may need to extend the binding to suit your

[clutter] Weird segfault problem with pyclutter and ubuntu intrepid

2008-11-04 Thread Julien Pauty
Hello, I have upgraded to intrepid yesterday. I reinstalled clutter 0.8 and pyclutter. Now, my program generates a segmentation fault and just quit. It was working correctly beforehand. As a side not all the pyclutter examples generate a segfault when they exit, but they still manage to run. I

Re: [clutter] Does video sink support synchronization?

2008-07-18 Thread Julien Pauty
2008/7/17 Florent [EMAIL PROTECTED]: Hi Using xvimagesink and alsa sink I can get audio and synchronized by setting both sinks to sync=true. When I try this approach with clutter video sink, sound is muted: I must set alsasink to sync=false to get the sound. The problem is that

[clutter] Does video sink support synchronization?

2008-07-17 Thread Julien Pauty
Hello, I'm making a DVB player using clutter and gstreamer. Using xvimagesink and alsa sink I can get audio and synchronized by setting both sinks to sync=true. When I try this approach with clutter video sink, sound is muted: I must set alsasink to sync=false to get the sound. The problem is