summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtexthtmlparser.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-12-21 12:26:54 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-12-21 12:54:20 (GMT)
commit5d68753927ac6ba1445ceb6831da7e2346d91bf9 (patch)
treee016f8f5131dff22f79b3ba6a412b68a0d435350 /src/gui/text/qtexthtmlparser.cpp
parentad0841dfd89d08140b719098ecfec82881df63e6 (diff)
downloadQt-5d68753927ac6ba1445ceb6831da7e2346d91bf9.zip
Qt-5d68753927ac6ba1445ceb6831da7e2346d91bf9.tar.gz
Qt-5d68753927ac6ba1445ceb6831da7e2346d91bf9.tar.bz2
Optimize texture glyph cache
To avoid calling the bounding box function for the same non-printable characters in every call, we cache them as empty in the coords table and bail out before painting them. This patch also fixes some possible reads of uninitialized memory (reference to return value) and reference to a default constructed object consisting of uninitialized pods. Reviewed-by: Samuel
Diffstat (limited to 'src/gui/text/qtexthtmlparser.cpp')
0 files changed, 0 insertions, 0 deletions