summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesturemanager_p.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-11-16 13:27:57 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-11-16 14:11:45 +0100
commita40e77495612db0b89730debbacc585a22d0eb3a (patch)
tree1102634dabfaecb832b8007e282aa0af878f173e /src/gui/kernel/qgesturemanager_p.h
parent32817efdfec402f2e839535c326a49f884cb984f (diff)
Fix possible missing glyphs in text when using GL engine
If you create/destroy gl contexts a lot, you may sometimes get a new context with the same pointer as a destroyed context. When you look up the glyph cache in the font engine using the context pointer as a key, you will then get a glyph cache which contains no valid data. We need to reset the glyph cache completely in this case and set up bindings for the new context so that the glyph cache can be repopulated and reused. Note that there is a different solution for this in Qt 4.8, so this is temporary solution for the Qt 4.7.x series. Task-number: QT-4162 Reviewed-by: Fabien Freling
Diffstat (limited to 'src/gui/kernel/qgesturemanager_p.h')
0 files changed, 0 insertions, 0 deletions