diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2010-06-22 11:24:26 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2010-06-23 08:45:11 (GMT) |
commit | fb76a872e20bd0df8e7bbe9c039b7f20423c6f12 (patch) | |
tree | c01d5f47cad65a056eb6edc1cab11c628b11e2f8 /src/qt_targets.pri | |
parent | eaf886318568bfbd9aa1722586264c8fdf90df12 (diff) | |
download | Qt-fb76a872e20bd0df8e7bbe9c039b7f20423c6f12.zip Qt-fb76a872e20bd0df8e7bbe9c039b7f20423c6f12.tar.gz Qt-fb76a872e20bd0df8e7bbe9c039b7f20423c6f12.tar.bz2 |
Optimized sub-rect copying / painting of QPixmaps.
Prevented downloading of the whole XImage by introducing new
QPixmapData::toImage() overload taking a sub-rect. Also avoid an
additional copy by simply taking ownership of the XImage data when
the XImage format matches the QImage format.
Reviewed-by: Trond
Diffstat (limited to 'src/qt_targets.pri')
0 files changed, 0 insertions, 0 deletions