summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-18 10:41:42 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-18 10:41:42 (GMT)
commitc8f43775f1902a0539743446b5fdbb1019ccf209 (patch)
treefc42e041f10fa2364a3a23e029a944105c77ac02 /doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp
parent60f3e3abbb9bfd61448a761701159cf880e66c19 (diff)
downloadQt-c8f43775f1902a0539743446b5fdbb1019ccf209.zip
Qt-c8f43775f1902a0539743446b5fdbb1019ccf209.tar.gz
Qt-c8f43775f1902a0539743446b5fdbb1019ccf209.tar.bz2
Optimization for text drawing on OpenGL
Only call glBindTexture() if the glyph cache texture is not already bound. This can potentially give performance improvement of around 30%. Reviewed-by: Gunnar
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlformatter.cpp')
0 files changed, 0 insertions, 0 deletions