summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptclass.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-06-17 12:28:15 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-06-21 13:22:19 (GMT)
commite5d437d6899904de2596b0ece4914274cff37561 (patch)
tree213066bb8744e336624a27fd51be3aed91a01bf6 /doc/src/snippets/code/src_script_qscriptclass.cpp
parent49831f30f58d08a360d5947ba300aa3a3575d1fa (diff)
downloadQt-e5d437d6899904de2596b0ece4914274cff37561.zip
Qt-e5d437d6899904de2596b0ece4914274cff37561.tar.gz
Qt-e5d437d6899904de2596b0ece4914274cff37561.tar.bz2
Refactor QTextureGlyphCache
Separate getting the glyph coordinates from actually making and populating the cache. Calling populate() and fillInPendingGlyphs() immediately after should be equivalent to the old code, except it might have fewer reallocations of the texture since you will only create it one per set of glyphs. This mainly enables populating the GL glyph cache outside a GL context and then actually drawing into it later, when the context has actually been established. Reviewed-by: Kim
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptclass.cpp')
0 files changed, 0 insertions, 0 deletions