Workaround for distance field glyph upload problem.
authorYoann Lopes <yoann.lopes@digia.com>
Tue, 23 Jul 2013 14:19:57 +0000 (16:19 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 26 Jul 2013 11:56:01 +0000 (13:56 +0200)
commitd5b4e460bde0c152da5b872ac8ed6f675bf227a9
tree1718d80c2b231fb5829417082eb31bc71c5f4625
parentc9ec0c206544b37139057932a6dceed88565a75f
Workaround for distance field glyph upload problem.

It seems uploading an image (into a texture) which has
padding at the end of each scanLine and alpha-only pixel format
is broken with some OpenGL ES drivers.
The workaround is to upload one line at a time.

Task-number: QTBUG-30908
Change-Id: Ic680654951b6aec294c1a173708c1fb75e57ff8f
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
src/quick/scenegraph/qsgdefaultdistancefieldglyphcache.cpp