[clutter] geometry caching for ClutterActors

2009-08-31 Thread Davyd Madeley
So ClutterActor has caching for geometry in get_preferred_width/height(). In my Clutter-GTK work, I have discovered that this caching can wreak havoc between GTK+'s size_request() method and Clutter's. You end up having to make a lot of calls to force_relayout() and set_size(-1, -1) in order to

Re: [clutter] geometry caching for ClutterActors

2009-08-31 Thread Emmanuele Bassi
On Mon, 2009-08-31 at 20:18 +1000, Davyd Madeley wrote: It's possible that I can fix this without changing Clutter (need to think about it a little more), but I was wondering if anyone else saw a possible use for a clutter_actor_flush_cached_size() method, or similar. if you only need to

[clutter] pyclutter chaining animations problems

2009-08-31 Thread Karl Lattimer
Hi all, I'm trying to chain together a couple of animations using ClutterActor.animate in python, however if I use the completed signal from the animation to start off a second animation the second animation jumps to the end rather than playing through. Attached is a simple example of the

Re: [clutter] pyclutter chaining animations problems

2009-08-31 Thread Davyd Madeley
Try connect_after(). On Mon, 2009-08-31 at 15:11 +0100, Karl Lattimer wrote: Hi all, I'm trying to chain together a couple of animations using ClutterActor.animate in python, however if I use the completed signal from the animation to start off a second animation the second animation jumps

Re: [clutter] pyclutter chaining animations problems

2009-08-31 Thread Bastian Winkler
Hi, you should use anim.connect_after. See http://www.clutter-project.org/docs/clutter/stable/clutter-Implicit-Animations.html#clutter-actor-animate for details so long :wq buz On Mon, Aug 31, 2009 at 03:11:09PM +0100, Karl Lattimer wrote: Hi all, I'm trying to chain together a couple of

[clutter] implement clipping instead of using stencil buffer

2009-08-31 Thread jiangwei zhou
Title: Samsung Enterprise Portal mySingle hi, we know that at present the clutter's clipping is implemented in clip plane/stencil buffer/Scissor. using stencil buffer, we can implement arbitrarily ploygonous clipping. it is one very common way to do the clipping in gles. but now ,we