mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 16:40:41 -05:00
ea15e4c7f0
It should be possible render a single PangoLayout with different colors without recalculating the layout. This was not working because the color used at the first edit was being stored in the display list. This broke changing the opacity on a ClutterText. Now each node in the display list has a 'color override' flag which marks whether it should use the base color or not. The base color is now passed in from _cogl_pango_display_list_render_texture. The alpha value is always taken from the base color. |
||
---|---|---|
.. | ||
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 |