mutter/clutter/pango
Neil Roberts 3fc64dfaa7 [pango-render] Keep a reference to the first line to detect layout changes
In order to cope with the situation where an application renders with
a PangoLayout, makes some changes and then renders again with the same
layout, CoglPangoRenderer needs to detect that the changes have
occured so that it can recreate the display list. This is acheived by
keeping a reference to the first line of the layout. When the layout
is changed Pango will clear the layout pointer in the first line and
create a new line. So if the layout pointer in the line becomes NULL
then we know the layout has changed. This trick was suggested by
Behdad Esfahbod in this email:

http://mail.gnome.org/archives/gtk-i18n-list/2009-May/msg00019.html
2009-05-21 12:17:12 +01:00
..
cogl-pango-display-list.c Render pango layouts with vertex buffers 2009-04-29 19:53:24 +01:00
cogl-pango-display-list.h Render pango layouts with vertex buffers 2009-04-29 19:53:24 +01:00
cogl-pango-fontmap.c 2008-10-31 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-31 17:48:24 +00:00
cogl-pango-glyph-cache.c [cogl-handle] Optimize how we define cogl handles 2009-04-02 11:58:43 +01:00
cogl-pango-glyph-cache.h [Automatic fixed-to-float.sh change] Applies all scripted changes 2009-01-20 16:20:54 +00:00
cogl-pango-private.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:11:29 +00:00
cogl-pango-render.c [pango-render] Keep a reference to the first line to detect layout changes 2009-05-21 12:17:12 +01:00
cogl-pango.h * clutter/pango/cogl-pango.h: Include pango/pango.h to get 2008-11-21 16:18:31 +00:00
Makefile.am Render pango layouts with vertex buffers 2009-04-29 19:53:24 +01:00