From 9c9f98f2ff255da3e9a3ccdb81a82c53a105c8f9 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 7 Dec 2016 14:37:12 +0100 Subject: Implement support for 16bpc image formats Adds support for 16bit per color image formats in QImage. This makes it possible to read and write 16bpc PNGs, and take full advantage of the 16bpc paint engine. [ChangeLog][QtGui][QImage] QImage now supports 64bit image formats with 16 bits per color channel, compatible with 16bpc PNG or RGBA16 OpenGL formats. Task-number: QTBUG-45858 Change-Id: Icd28bd5868a6efcf65cb5bd56031d42941e04099 Reviewed-by: Allan Sandfeld Jensen --- tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/benchmarks') diff --git a/tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp b/tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp index ca41d7f570..485306a8ac 100644 --- a/tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp +++ b/tests/benchmarks/gui/painting/qpainter/tst_qpainter.cpp @@ -649,6 +649,9 @@ void tst_QPainter::drawPixmapImage_data_helper(bool pixmaps) "A2RGB30_pm", "Alpha8", "Grayscale8", + "RGBx64", + "RGBA64", + "RGBA64_pm", }; const QImage::Format pixmapFormats[] = { -- cgit v1.2.3