mutter/tests
Neil Roberts b16e75db2c Bug 1010 - ClutterLabel does not update the layout (again)
* clutter/clutter-label.c: Bring back layout caching. This time it
	will cache up to three different layouts. The width for which each
	layout was generated is stored so that if the same width is
	requested again it can use the cached version. If no cached
	version is available it will try to replace the oldest
	layout. 'Age' is determined by a counter which is incremented
	every time a layout is created. The cache is cleared after any
	property changes that might affect the layout.
	(struct _ClutterLabelPrivate): Removed extents_width,
	extents_height and context because they weren't used anywhere.

	* tests/test-label-cache.c: Add a test which checks whether the
	label is using a different layout when properties are
	changed. Also compares the extents of the label's layout with an
	independent layout and fails if they aren't the same.

	* tests/Makefile.am (noinst_PROGRAMS): Add test-label-cache
2008-09-12 10:31:44 +00:00
..
Makefile.am Bug 1010 - ClutterLabel does not update the layout (again) 2008-09-12 10:31:44 +00:00
redhand.png 2007-06-12 Matthew Allum <mallum@openedhand.com> 2007-06-12 10:36:28 +00:00
test-actors.c 2008-06-06 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-06 16:22:55 +00:00
test-behave.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
test-clip.c 2008-06-04 Robert Bragg <bob@o-hand.com> 2008-06-04 16:02:40 +00:00
test-cogl-offscreen.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:18:08 +00:00
test-cogl-primitives.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:18:08 +00:00
test-cogl-tex-convert.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:18:08 +00:00
test-cogl-tex-foreign.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:18:08 +00:00
test-cogl-tex-getset.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:18:08 +00:00
test-cogl-tex-polygon.c * clutter/cogl/cogl.h.in: 2008-05-07 16:12:54 +00:00
test-cogl-tex-tile.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:18:08 +00:00
test-depth.c 7 small miscellaneous fixes 2008-06-10 06:37:46 +00:00
test-devices.c 2008-07-01 Matthew Allum <mallum@openedhand.com> 2008-07-01 13:41:23 +00:00
test-effects.c 2007-01-30 Tomas Frydrych <tf@openedhand.com> 2008-01-30 12:13:26 +00:00
test-entry-auto.c * tests/Makefile.am: 2008-06-10 10:17:12 +00:00
test-entry.c 2008-03-06 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-06 12:39:24 +00:00
test-events.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:01:34 +00:00
test-fbo.c Bug 1015 - Cloning unparented actors with FBOs doesn't work with 2008-07-04 10:44:18 +00:00
test-fullscreen.c 2008-06-10 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-10 17:11:14 +00:00
test-grab.c 2007-12-21 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-21 15:25:00 +00:00
test-invariants.c Fixes for distcheck 2008-06-23 16:43:49 +00:00
test-label-cache.c Bug 1010 - ClutterLabel does not update the layout (again) 2008-09-12 10:31:44 +00:00
test-layout.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:18:08 +00:00
test-model.c 2008-01-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-01-09 14:34:24 +00:00
test-multistage.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:01:34 +00:00
test-offscreen.c 2007-05-25 Matthew Allum <mallum@openedhand.com> 2007-05-25 10:56:09 +00:00
test-opacity.c 2008-06-10 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-10 17:07:52 +00:00
test-paint-wrapper.c 7 small miscellaneous fixes 2008-06-10 06:37:46 +00:00
test-perspective.c Moved dots in test-perspective to 1px off each corner. 2007-06-28 08:24:45 +00:00
test-pixmap.c Remove unused variable 2008-07-10 15:15:37 +00:00
test-project.c 2008-06-10 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-10 17:07:52 +00:00
test-random-text.c 2008-05-28 Emmanuele Bassi <ebassi@openedhand.com> 2008-05-28 14:14:56 +00:00
test-rotate.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
test-scale.c 2008-02-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-02-04 22:35:38 +00:00
test-score.c 2008-03-18 Emmanuele Bassi <ebassi@openedhand.com> 2008-03-18 22:07:17 +00:00
test-script.c 2008-05-28 Emmanuele Bassi <ebassi@openedhand.com> 2008-05-28 12:20:54 +00:00
test-script.json 2008-06-23 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-23 15:31:12 +00:00
test-shader.c * tests/test-shader.c: 2008-06-30 14:38:10 +00:00
test-stage-read-pixels.c * clutter/clutter-stage.c: 2008-07-01 14:08:24 +00:00
test-text.c 2008-05-09 Emmanuele Bassi <ebassi@openedhand.com> 2008-05-09 10:58:26 +00:00
test-texture-quality.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:18:08 +00:00
test-textures.c Revert miscommit of unfinished cogl changes in r2920 2008-06-14 22:07:23 +00:00
test-threads.c 2008-05-14 Emmanuele Bassi <ebassi@openedhand.com> 2008-05-14 17:26:59 +00:00
test-timeline-dup-frames.c Adds some new timeline unit-tests (#439) with actual timeline 2008-03-05 16:04:06 +00:00
test-timeline-interpolate.c Adds some new timeline unit-tests (#439) with actual timeline 2008-03-05 16:04:06 +00:00
test-timeline-rewind.c Adds some new timeline unit-tests (#439) with actual timeline 2008-03-05 16:04:06 +00:00
test-timeline-smoothness.c Adds some new timeline unit-tests (#439) with actual timeline 2008-03-05 16:04:06 +00:00
test-timeline.c 2008-06-13 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-13 15:01:34 +00:00
test-unproject.c 2007-12-21 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-21 15:25:00 +00:00
test-viewport.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00