Thanks Emmanuele,
I understand the rationale.
It just goes against my belief in a rule of thumb that the reference
count of a pointer should always be incremented as soon as this pointer
is assigned. Although the clutter scene graph should be seen as a
descending graph only, every actor
I understand better now.
Having actors hold a ref count of its parent would create a circular
reference which would cause actors to never be disposed.
The rule of thumb in clutter is that ref counting is always done in the
descending direction of the scene graph.
Did I get it right ?
Michael
Hello,
I need some help in freeing memory used by images loaded into
ClutterTextures.
Valgrind shows that the memory is freed when the application terminates
(at least
the memory of the big images).
My application is a simple version of an image-slideshow. When the next
image is shown I
Obviously I don't speak formally for Clutter, but...
What you say has been my experience.
Also, keep in mind that what they are doing is more like ownership, like
Emmanuele says, and less like regular refcounting. When a ClutterGroup runs
out of references and is disposed, it will
Hi nice people,
For those interested in building 'Clutter' on XP/Vista/Whatever, with
minimal fuss:
I spend a few days and wrote this (
http://ash-ride.blogspot.com/2009/03/clutter-build-mingwwin32.html) as a
recipe.
Most of the hacking concerns OpenGL1.2 - 1.4 bridging... Beyond that, well,
On Sun, 2009-03-08 at 09:28 +0100, Wolfgang Silbermayr wrote:
I am using the clutter vala bindings from
git://git.clutter-project.org/bindings/clutter-vala. The c source of
clutter defines many key symbols in clutter-keysyms.h that are not
available in the vala bindings. Is there any chance
On Sun, 2009-03-08 at 12:13 +0100, Lukas Ruetz wrote:
My application is a simple version of an image-slideshow. When the next
image is shown I call clutter_actor_destroy(previousActor) on the old
actor.
Is that enough to free the memory used by the texture?
yes.
The used memory
On Fri, 2009-03-06 at 17:09 -0800, Christine Meranda wrote:
I am using clutter-cairo 0.82 and clutter 0.8.8 (pyclutter, actually,
and pycairo) to create a custom GradientRectangle object to draw a basic
rectangular gradient.
The class extends CloneTexture and passes a CairoTexture object to
This is another request for a simple clutter-box2d example.
Something easy like a rectangle falling would be great. The provided
examples are just to involved for newbs to start with and moblin doesn't
have any examples for clutter-box2d anymore.
Thanks for any all help.
Steve