mutter/clutter/pango
Robert Bragg 6562f3224a [pango-display-list] Use the Cogl journal for short runs of text
For small runs of text like icon labels, we can get better performance
going through the Cogl journal since text may then be batched together
with other geometry.

For larger runs of text though we still use VBOs since the cost of logging
the quads becomes too expensive, including the software transform which
isn't at all optimized at this point.  VBOs also have the further advantage
of avoiding repeated validation of vertices by the driver and repeated
mapping of data into the GPU so long as the text doesn't change.

Currently the threshold is 100 vertices/25 quads. This number was plucked
out of thin air and should be tuned later.

With this change I see ~180% fps improvment for test-text. (x61s + i965 +
Mesa 7.6-devel)
2009-06-30 17:13:36 +01:00
..
cogl-pango-display-list.c [pango-display-list] Use the Cogl journal for short runs of text 2009-06-30 17:13:36 +01:00
cogl-pango-display-list.h [CoglPangoDisplayList] Don't store the base color in the display list 2009-06-05 18:28:27 +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] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01:00
cogl-pango-glyph-cache.h [cogl] Move the texture filters to be a property of the material layer 2009-06-04 19:03:40 +01: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 Default to a blend function that expects premultiplied colors 2009-06-11 14:17:52 +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 Disable single header inclusion for GLib 2009-06-15 11:29:37 +01:00