Use correct alpha range for the distance field outlined text.
authorYoann Lopes <yoann.lopes@digia.com>
Thu, 21 Mar 2013 17:22:09 +0000 (18:22 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 6 Apr 2013 08:09:30 +0000 (10:09 +0200)
commit8fe9280556897a0d37831aa5169f2a76aa8686d2
tree4460dc2376ec1e24553f8026302a51c0b8cc44c4
parenteb6ff7becd41b145932a0fe9961a33f7d71445f1
Use correct alpha range for the distance field outlined text.

The alpha treshold values used in the outline shader were hard-coded. It
should use the same logic as in the normal text shader, using the
ThresholdFunc and the AntialiasingSpreadFunc for calculating these
values.

Change-Id: I0e6f38644692cc7a8a4cee1e8e60622fe289d615
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
src/quick/scenegraph/qsgdistancefieldglyphnode_p.cpp