Don't register sub distance field glyph nodes with the glyph cache.
authorYoann Lopes <yoann.lopes@nokia.com>
Tue, 20 Mar 2012 13:09:13 +0000 (14:09 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Mar 2012 15:44:18 +0000 (16:44 +0100)
commitfd8028514550da7594736a10f1d20bab1576bcfd
treef8d3a80401ae49d96df7b03e7c90452137a7707c
parentdfdea38c843d1ee915e10ee72e6371ced7cd9bd0
Don't register sub distance field glyph nodes with the glyph cache.

The original distance field glyph node takes care of the glyphs
reference counting. The potential sub glyph nodes created when the
glyphs are in another texture are note registered anymore with the cache
and don't reference count their glyphs.
Also got rid of unnecessary data members.

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