diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2011-08-11 13:37:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-11 13:43:31 +0200 |
commit | b3c391608c8a8abcc811adf85bf77c5b3d471cf2 (patch) | |
tree | 6a7865ed408078ef66fc4dcb7d3abe058ec27aa8 /src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp | |
parent | 89b694ea15e46461aef5e1695e820582152c67c5 (diff) |
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>
Diffstat (limited to 'src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp')
-rw-r--r-- | src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp b/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp index db264bb281..73a2d2a65c 100644 --- a/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp +++ b/src/declarative/scenegraph/qsgdistancefieldglyphcache.cpp @@ -804,7 +804,7 @@ QSGDistanceFieldGlyphCacheManager::QSGDistanceFieldGlyphCacheManager(const QGLCo , m_maxTextureSize(0) { #ifndef QT_OPENGL_ES - m_defaultAntialiasingMode = QSGGlyphNode::SubPixelAntialiasing; + m_defaultAntialiasingMode = QSGGlyphNode::HighQualitySubPixelAntialiasing; #else m_defaultAntialiasingMode = QSGGlyphNode::GrayAntialiasing; #endif |