clutter-offscreen-effect: Don't redraw the actor if cached offscreen
authorNeil Roberts <neil@linux.intel.com>
Fri, 25 Feb 2011 11:24:23 +0000 (11:24 +0000)
committerNeil Roberts <neil@linux.intel.com>
Fri, 13 May 2011 00:46:32 +0000 (01:46 +0100)
commit11443ed4801be02e8433abb34c776e32bd0c253a
tree9cd480ef5d694bc564d8e892a0c2644ad309fedd
parentc3aa4d24bf32a7aacdcd96b0807ba780738431a1
clutter-offscreen-effect: Don't redraw the actor if cached offscreen

When painting an actor, it now tries to determine if the last paint of
the offscreen was using the same matrix and the actor isn't dirty. If
so, it can skip calling clutter_actor_continue_paint and avoid
actually painting the actor. Instead just the offscreen image will be
painted.
clutter/clutter-offscreen-effect.c