[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