diff options
author | aavit <qt-info@nokia.com> | 2010-04-09 13:30:04 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2010-04-23 11:41:05 (GMT) |
commit | c1431e6daa5f0e229c2e79a945f28d00d70b0978 (patch) | |
tree | 42bb23ffae60d45448c95a638d978b1673747f99 /doc/src/snippets/code/src_gui_kernel_qapplication.cpp | |
parent | 66da5958bc3ec0df60e76bb32ead94bfe7b2eac7 (diff) | |
download | Qt-c1431e6daa5f0e229c2e79a945f28d00d70b0978.zip Qt-c1431e6daa5f0e229c2e79a945f28d00d70b0978.tar.gz Qt-c1431e6daa5f0e229c2e79a945f28d00d70b0978.tar.bz2 |
Optimization: Avoid data copy when reading jpegs from memory
If the iodevice is actually a qbuffer, avoid read() and just give
libjpeg a pointer to the contained data directly.
Related to QTBUG-9095.
Reviewed-by: Kim
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qapplication.cpp')
0 files changed, 0 insertions, 0 deletions