qt5base-lts/src
Allan Sandfeld Jensen d8dc664b94 Ensure valid data after QImage::invertPixels
QImage::invertPixels may produce invalid data after inversions of
images with premultiplied alpha, because the inverted colors will be
larger than the alpha.

This patch converts any image with a premultiplied alpha channel to
ARGB32 before inverting the pixels, and then back to the original
format after the inversion.

Support is added for correct inversion of RGBA8888 and RGB30 formats.

Task-number: QTBUG-39901
Change-Id: Ief24c55f495e67ef2ad6429b5b418d02963a64dd
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
2014-07-31 20:16:09 +02:00
..
3rdparty Update bundled HarfBuzz-NG copy to 0.9.32 2014-07-20 01:12:24 +02:00
android Android: Really suspend apps that are put in the background 2014-07-31 19:20:28 +02:00
angle Fix ANGLE build with Microsoft Visual Studio "14" CTP 2014-06-20 21:54:54 +02:00
concurrent Doc: Removed "url" variable from qdocconf files. 2014-07-04 12:12:29 +02:00
corelib Android: Really suspend apps that are put in the background 2014-07-31 19:20:28 +02:00
dbus QtDBus: Warn if blocking calls take too long. 2014-07-25 04:01:03 +02:00
gui Ensure valid data after QImage::invertPixels 2014-07-31 20:16:09 +02:00
network Merge remote-tracking branch 'origin/5.3' into dev 2014-07-29 12:56:06 +02:00
opengl Unduplicate the implementations of next power of two 2014-06-26 00:47:51 +02:00
openglextensions purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
platformheaders Add missing doc file for cocoa native context 2014-07-09 19:07:16 +02:00
platformsupport Add EglDisplay case to nativeResourceForContext on eglfs 2014-07-30 22:31:09 +02:00
plugins Android: Cleanup androidjnimain.cpp/.h files 2014-07-31 19:21:21 +02:00
printsupport Merge remote-tracking branch 'origin/5.3' into dev 2014-07-29 12:56:06 +02:00
sql Merge remote-tracking branch 'origin/5.3' into dev 2014-07-29 12:56:06 +02:00
testlib Add qFormatLogMessage() 2014-07-30 16:27:22 +02:00
tools Micro-optimize uic 2014-07-31 08:49:41 +02:00
widgets QProgressDialog: make the cancel button retranslate on LanguageChange 2014-07-30 23:41:01 +02:00
winmain winrt: Use native threading 2014-06-25 16:34:39 +02:00
xml Merge remote-tracking branch 'origin/5.3' into dev 2014-07-14 10:35:51 +02:00
src.pro Load winsys and gl dynamically in the windows plugin 2014-05-22 22:00:59 +02:00