2008-06-06 Emmanuele Bassi <ebassi@openedhand.com>
authorEmmanuele Bassi <ebassi@openedhand.com>
Fri, 6 Jun 2008 16:22:55 +0000 (16:22 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Fri, 6 Jun 2008 16:22:55 +0000 (16:22 +0000)
commiteb990a853aa5f29dab761fa6c07f417ecf61db88
tree959103abd67579f013e571b99cc38c3ca7d51e9e
parentd66fe947a07e2dec6375060ea0d955eddf832b89
2008-06-06  Emmanuele Bassi  <ebassi@openedhand.com>

* clutter/clutter-texture.c:
(clutter_texture_class_init): Do not unrealize on hide(), and
do not realize() on show. By default, clutter_actor_show() will
realize ourselves, and we don't want to unrealize when hidden
to avoid paying the penalty of reading back the texture data
from the video memory.

* tests/test-actors.c: Show all textures again when pressing
the 'r' key.
ChangeLog
clutter/clutter-texture.c
tests/test-actors.c