Optimize pixels rotation in wxImage::Rotate90().
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Dec 2010 12:40:03 +0000 (12:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Dec 2010 12:40:03 +0000 (12:40 +0000)
commit4776c0b783a9776f94b049aecdc253d379686b6b
treea28c536ac43f5780c4fd2b411bdf53eeb8300408
parent944f641cf9e822770d667be45926e58deb339482
Optimize pixels rotation in wxImage::Rotate90().

Rotate the image by entire strips instead of doing it pixel by pixel.

This seems to result in about 50% performance gain.

Closes #12739.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/image.cpp