diff options
author | Bjoern Erik Nilsen <bnilsen@trolltech.com> | 2009-02-27 15:00:55 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-04-15 10:15:02 (GMT) |
commit | 50f92ce9b2cc8855a578423a1d309fba9b62dc5f (patch) | |
tree | 434ee82125c1da3cf0361d7d60a290310643d2a7 /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp | |
parent | e87fd9a6fd06d57f4b007ab72c60041eaf0dec0f (diff) | |
download | Qt-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