diff options
author | Andreas Kling <andreas.kling@nokia.com> | 2010-12-13 22:57:17 +0100 |
---|---|---|
committer | Andreas Kling <andreas.kling@nokia.com> | 2010-12-13 22:57:17 +0100 |
commit | 8d0863f175199384e41a00fa18a9ea7d177c7f0e (patch) | |
tree | 9481e063c56759608f912bc1ee6013e78dcaf49f /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp | |
parent | ff60c64c30a2e889b7a894b7b4b38484b7dfe31a (diff) | |
download | qt4-tools-8d0863f175199384e41a00fa18a9ea7d177c7f0e.tar.gz |
qrgb565: Use the trivial qt_memconvert() and qt_rectconvert()
Use memcpy() instead of the generic conversion routines where both template
arguments are qrgb565. Yields a massive performance gain for tiling opaque
(background) images in WebKit on 16-bit displays.
This was previously restricted to Q_WS_QWS for some unknown reason.
Reviewed-by: Benjamin Poulain
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions