From 89d0a03c067b42155b1a2d310f8514f595abfd61 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Sun, 8 Sep 2019 15:38:56 +0200 Subject: Remove BT.2020 support from QColorSpace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BT.2020 is an HDR color space and its luminance range doesn't match that of the rest of the currently available color spaces. Without support for white-point luminance in 5.14, there would be a behavior change when luminance support is later introduced, so it is better to remove it now, and reintroduce it when the necessary handling of different luminance levels is available. Change-Id: Ie29e4dd757faae3ac91d4252e1206acce42801dc Reviewed-by: Tor Arne Vestbø --- src/gui/painting/qcolorspace.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/gui/painting/qcolorspace.h') diff --git a/src/gui/painting/qcolorspace.h b/src/gui/painting/qcolorspace.h index 11987b9a37..e6bc62d58a 100644 --- a/src/gui/painting/qcolorspace.h +++ b/src/gui/painting/qcolorspace.h @@ -59,8 +59,7 @@ public: SRgbLinear, AdobeRgb, DisplayP3, - ProPhotoRgb, - Bt2020, + ProPhotoRgb }; Q_ENUM(NamedColorSpace) enum class Primaries { @@ -68,8 +67,7 @@ public: SRgb, AdobeRgb, DciP3D65, - ProPhotoRgb, - Bt2020, + ProPhotoRgb }; Q_ENUM(Primaries) enum class TransferFunction { @@ -77,8 +75,7 @@ public: Linear, Gamma, SRgb, - ProPhotoRgb, - Bt2020, + ProPhotoRgb }; Q_ENUM(TransferFunction) -- cgit v1.2.3