mutter/clutter/fruity
Robert Bragg b499696d83 Use paint volumes to do automatic culling
This uses actor paint volumes to perform culling during
clutter_actor_paint.

When performing a clipped redraw (because only a few localized actors
changed) then as we traverse the scenegraph painting the actors we can
now ignore actors that don't intersect the clip region. Early testing
shows this can have a big performance benefit; e.g. 100% fps improvement
for test-state with culling enabled and we hope that there are even much
more compelling examples than that in the real world,

Most Clutter applications are 2Dish interfaces and have quite a lot of
actors that get continuously painted when anything is animated. The
dynamic actors are often localized to an area of user focus though so
with culling we can completely avoid painting any of the static actors
outside the current clip region.

Obviously the cost of culling has to be offset against the cost of
painting to determine if it's a win, but our (limited) testing suggests
it should be a win for most applications.

Note: we hope we will be able to also bring another performance bump
from culling with another iteration - hopefully in the 1.6 cycle - to
avoid doing the culling in screen space and instead do it in the stage's
model space. This will hopefully let us minimize the cost of
transforming the actor volumes for culling.
2010-09-29 15:12:58 +01:00
..
clutter-backend-fruity.c Use paint volumes to do automatic culling 2010-09-29 15:12:58 +01:00
clutter-backend-fruity.h Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
clutter-fruity.c Hide clutter_context_get_default() 2009-06-18 14:20:28 +01:00
clutter-fruity.h Remove mentions of the FSF address 2010-03-01 12:56:10 +00:00
clutter-stage-fruity.c [backends] Remove the idea of offscreen stages from all backends 2009-10-16 18:58:47 +01:00
clutter-stage-fruity.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
Makefile.am Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys 2009-10-16 18:58:50 +01:00