summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2016-06-17 18:32:52 +0200
committerAndy Shaw <andy.shaw@qt.io>2016-06-20 07:45:07 +0000
commitbf8014a26903cd94b5693e61bec33dc6864ef0f1 (patch)
tree4cd15dfe7a04644344c718ba900c5ac460ae90dc /src/gui/opengl
parentee2eed350f95285b65e3dd9647e5f366e16fd5a4 (diff)
Add PowerVR SGX 554 to the BGRA blacklist
PowerVR SGX 554 is used in iPad wi-fi (4th generation) and blacklisting it solves a problem with grabToImage() in QQuickItem. Task-number: QTBUG-45902 Change-Id: I4b6210a48f70614c4364fc63692c97652836f5d3 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/opengl')
-rw-r--r--src/gui/opengl/qopenglframebufferobject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglframebufferobject.cpp b/src/gui/opengl/qopenglframebufferobject.cpp
index 0e1074f8d4..db7de5e8bf 100644
--- a/src/gui/opengl/qopenglframebufferobject.cpp
+++ b/src/gui/opengl/qopenglframebufferobject.cpp
@@ -1287,7 +1287,8 @@ static inline QImage qt_gl_read_framebuffer_rgba8(const QSize &size, bool includ
(qstrcmp(renderer, "Mali-T760") == 0
&& ::strstr(ver, "3.1") != 0) ||
(qstrcmp(renderer, "Mali-T720") == 0
- && ::strstr(ver, "3.1") != 0);
+ && ::strstr(ver, "3.1") != 0) ||
+ qstrcmp(renderer, "PowerVR SGX 554") == 0;
const bool supports_bgra = has_bgra_ext && !blackListed;