Simplified the glyph reference counting 83/43083/15
authorPaul Wisbey <p.wisbey@samsung.com>
Tue, 7 Jul 2015 14:03:07 +0000 (15:03 +0100)
committerPaul Wisbey <p.wisbey@samsung.com>
Tue, 14 Jul 2015 09:00:25 +0000 (10:00 +0100)
commit0edfab6278cc238252d0ef899c0198df4ff953dc
tree6f77c87a2912dad43f27923b55e15e48c6562606
parentec4cd25a0466c6580d4a8f3fbba07340dfa2de1d
Simplified the glyph reference counting

This fixes a bug found when opening/closing the text-selection popup.
The reference counts are not incremented correctly e.g. when a word contains
the same letter twice. This results in the atlas becoming corrupted.

+ More Debug macros for glyph-atlas

Change-Id: Ib91681bc76e037ec4f6765bdc6ecbc9f592c20e3
dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager-impl.cpp
dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager-impl.h
dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager.cpp
dali-toolkit/internal/text/rendering/atlas/atlas-glyph-manager.h
dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.cpp