Added a faster subpixel antialiasing material for distance field text.
authorYoann Lopes <yoann.lopes@nokia.com>
Thu, 11 Aug 2011 11:37:23 +0000 (13:37 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 11 Aug 2011 11:43:31 +0000 (13:43 +0200)
commitb3c391608c8a8abcc811adf85bf77c5b3d471cf2
tree6a7865ed408078ef66fc4dcb7d3abe058ec27aa8
parent89b694ea15e46461aef5e1695e820582152c67c5
Added a faster subpixel antialiasing material for distance field text.

Based on two texture samples instead of five.
Can be enabled with qmlscene --text-subpixel-antialiasing-lowq

Change-Id: I726f73d812b93aa9ca38ce142d1e97b9a40d200a
Reviewed-on: http://codereview.qt.nokia.com/2861
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
src/declarative/scenegraph/qsgadaptationlayer_p.h
src/declarative/scenegraph/qsgcontext.cpp
src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp
src/declarative/scenegraph/qsgdistancefieldglyphnode.cpp
src/declarative/scenegraph/qsgdistancefieldglyphnode_p.cpp
src/declarative/scenegraph/qsgdistancefieldglyphnode_p_p.h