diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-03-10 15:11:09 (GMT) |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-03-10 15:11:09 (GMT) |
commit | 433e4380c98b9369a7d55894e9d34f8c87ba06e9 (patch) | |
tree | f9b6c97214607c9d0f7827af34114227b92a5570 /src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp | |
parent | 3c3176f43f049e0c26e56f04881bd8047e731915 (diff) | |
download | Qt-433e4380c98b9369a7d55894e9d34f8c87ba06e9.zip Qt-433e4380c98b9369a7d55894e9d34f8c87ba06e9.tar.gz Qt-433e4380c98b9369a7d55894e9d34f8c87ba06e9.tar.bz2 |
Fix for fromSymbianCFbsBitmap changing the source data unexpectedly.
Inverting the pixels for bitmaps of mode EGray2 is done in-place,
which is wrong if the bitmap handle was duplicated. Instead, we
need to make a copy. This also means that we cannot treat EGray2
a conversion-less format in openvg, but such images are likely
to be used as masks only, so optimizing just for mere drawing
in case of this format is not really necessary.
Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp')
0 files changed, 0 insertions, 0 deletions