summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bnilsen@trolltech.com>2009-02-27 15:00:55 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-15 10:15:02 (GMT)
commit50f92ce9b2cc8855a578423a1d309fba9b62dc5f (patch)
tree434ee82125c1da3cf0361d7d60a290310643d2a7 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp
parente87fd9a6fd06d57f4b007ab72c60041eaf0dec0f (diff)
downloadQt-50f92ce9b2cc8855a578423a1d309fba9b62dc5f.zip
Qt-50f92ce9b2cc8855a578423a1d309fba9b62dc5f.tar.gz
Qt-50f92ce9b2cc8855a578423a1d309fba9b62dc5f.tar.bz2
Fixes: Small optimization: reduce calls to QTransform::type().
Task: none RevBy: Ariya Hidayat AutoTest: Still pass. Details: QTransform::type() is cached, so only the first call to it should be expensive. However, it is not inlined so there's an overhead involved (especially when these functions are called a gazillion times). (cherry picked from commit eda77b7c410a59d1b77c263994679452613d9d0b)
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions