qt5base-lts/tests/auto/gui/image
Morten Johan Sørvig b0abe20d4b Darwin: Add QImage::toCGImage() conversion function
(Move QT_FORWARD_DECLARE_CG to qglobal.h)

This function converts to CGImage for supported formats. This
is done by creating a CGImageRef that reuses the QImage data.

The CGImage and QImage ref counting systems are bridged, implemented
by using CGDataProvider that holds a copy of the QImage.

Unlike the previous internal implementation this public version
does not implicitly convert unsupported formats to ARGB32_Premultiplied.

See included documentation for the complete description.

Change-Id: Ie3984a7a8331e02a6f1c42943caaf76854e93538
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
2016-08-11 21:21:05 +00:00
..
qicoimageformat Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qicon Merge remote-tracking branch 'origin/5.7' into dev 2016-06-13 12:46:46 +02:00
qimage Darwin: Add QImage::toCGImage() conversion function 2016-08-11 21:21:05 +00:00
qimageiohandler Updated license headers 2016-01-21 18:55:18 +00:00
qimagereader Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qimagewriter Merge remote-tracking branch 'origin/5.7' into dev 2016-05-23 21:09:46 +02:00
qmovie Always build JPEG and GIF support as plugins 2016-04-07 09:08:41 +00:00
qpicture Updated license headers 2016-01-21 18:55:18 +00:00
qpixmap Merge remote-tracking branch 'origin/5.7' into dev 2016-04-05 14:22:45 +02:00
qpixmapcache Updated license headers 2016-01-21 18:55:18 +00:00
image.pro Check for network module when building according auto tests 2013-02-19 19:20:53 +01:00