Support for multiple textures in the default distance field glyph cache.
authorYoann Lopes <yoann.lopes@nokia.com>
Wed, 14 Mar 2012 15:11:10 +0000 (16:11 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Mar 2012 09:14:37 +0000 (10:14 +0100)
commitb634c19680cd1d4dd925a18e616844ed420d18ae
tree12048355231ce24997f2967c97301f4003ca2176
parent1c8e65a0999c81d2252757f8872c663417270d37
Support for multiple textures in the default distance field glyph cache.

The default implementation of the distance field glyph cache can now
store the glyphs of one font in several textures, allowing to cache more
glyphs at once. The default maximum number of textures per cache is 3.
Glyphs are recycled when all textures are full.

Change-Id: I28d2d6cf5aa409141e2700b505023f15d3c2cd26
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp
src/quick/scenegraph/qsgdefaultdistancefieldglyphcache_p.h