mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
3fc64dfaa7
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 |
||
---|---|---|
.. | ||
cogl-pango-display-list.c | ||
cogl-pango-display-list.h | ||
cogl-pango-fontmap.c | ||
cogl-pango-glyph-cache.c | ||
cogl-pango-glyph-cache.h | ||
cogl-pango-private.h | ||
cogl-pango-render.c | ||
cogl-pango.h | ||
Makefile.am |