1
0
Fork 0
mutter-performance-source/clutter/egl
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-cex100.c cex100: Remove C99-ism 2010-09-03 11:14:05 +01:00
clutter-backend-cex100.h cex100: Add a Clutter EGL backend for CE3100/CE4100 SoCs 2010-09-03 11:13:35 +01:00
clutter-backend-egl.c cex100: Add a Clutter EGL backend for CE3100/CE4100 SoCs 2010-09-03 11:13:35 +01:00
clutter-backend-egl.h Hide internal glx and egl(x) backend symbols. 2010-08-23 11:49:07 +01:00
clutter-cex100.h.in cex100: Use % not # to document constants 2010-09-03 11:13:57 +01:00
clutter-egl-headers.h egl: Fix the installed headers 2010-09-03 11:13:35 +01:00
clutter-egl.h egl: Fix the installed headers 2010-09-03 11:13:35 +01:00
clutter-event-tslib.c egl: Consolidates eglx and eglnative into one "egl" winsys 2010-06-18 17:38:41 +01:00
clutter-stage-egl.c Use paint volumes to do automatic culling 2010-09-29 15:12:58 +01:00
clutter-stage-egl.h egl: Fix compilation for EGL native 2010-09-03 11:13:35 +01:00
Makefile.am cex100: Add an API to configure the GDL plane to use 2010-09-03 11:13:35 +01:00