diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-11-19 11:38:36 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-11-19 11:57:48 (GMT) |
commit | 72f161739b270b01807f97cd853030440f0fd430 (patch) | |
tree | 430f86276b70fcc59a839eeff1d7c1b585026017 /src/s60main | |
parent | 06d60696fcc88f058b53d08785cc01a580dfb4ed (diff) | |
download | Qt-72f161739b270b01807f97cd853030440f0fd430.zip Qt-72f161739b270b01807f97cd853030440f0fd430.tar.gz Qt-72f161739b270b01807f97cd853030440f0fd430.tar.bz2 |
Fix possible corrupted text when gl glyph cache becomes full
When the OpenGL glyph cache filled up (the max texture size on the
hardware was exceeded) the characters would be drawn as black blocks
instead. As a work-around for this, the cache will now be cleared and
repopulated whenever this happens, meaning that once in a while (when
a lot of different glyphs have been drawn in a font) there will be a
performance hit. A more complete solution is described in QTBUG-13784,
but this requires so much refactoring that it was deemed too risky for
a patch release. This patch fixes the problem with a small penalty
and low risk.
Task-number: QT-3971
Reviewed-by: Samuel
Diffstat (limited to 'src/s60main')
0 files changed, 0 insertions, 0 deletions