Robert Bragg 3303b08174 culling: check volume->is_empty before ->is_complete
As documented in cogl-pipeline-private.h, there is a precedence to the
ClutterPaintVolume bitfields that should be considered whenever we
implement code that manipulates PaintVolumes...

Firstly if ->is_empty == TRUE then the values for ->is_complete and
->is_2d are undefined, so we should typically check ->is_empty as the
first priority.

This fixes a bug in _clutter_paint_volume_cull() whereby we were
checking pv->is_complete before checking pv->is_empty which was
resulting in assertions for actors with no size.
2011-03-10 14:02:37 +00:00
..
2011-02-19 16:47:20 +00:00
2010-10-18 11:26:44 +01:00
2010-03-02 11:12:32 +00:00
2010-11-18 18:23:49 +00:00
2010-10-21 12:22:17 +01:00
2010-12-02 09:53:00 +00:00
2009-07-10 11:38:42 +01:00
2010-10-18 11:26:44 +01:00
2010-10-21 12:22:17 +01:00
2010-11-18 18:23:49 +00:00
2011-03-03 11:47:49 +00:00
2010-02-03 14:38:13 +00:00
2010-11-18 18:23:49 +00:00
2010-12-09 13:59:08 +00:00
2010-03-02 11:12:32 +00:00