summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTero Alamäki <tero.alamaki@qt.io>2018-01-18 13:16:44 +0200
committerTero Alamäki <tero.alamaki@qt.io>2018-01-19 07:57:49 +0000
commitdc742e9394c2796acce1317af7bb9fc304f820a8 (patch)
tree6e157b2f33fa359ebac9170c12b746ebd19355ea
parent13f6eb9773c0a4c64da7070be4ac3bbf66f8c82d (diff)
Enable glyph cache workaround for Mali-T880
Change-Id: I531e57c26e886cd8de09ca860d7e10b05d1a724b Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
-rw-r--r--src/gui/kernel/qopenglcontext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qopenglcontext.cpp b/src/gui/kernel/qopenglcontext.cpp
index ad5e0b518d..620f7f74c8 100644
--- a/src/gui/kernel/qopenglcontext.cpp
+++ b/src/gui/kernel/qopenglcontext.cpp
@@ -1002,6 +1002,7 @@ bool QOpenGLContext::makeCurrent(QSurface *surface)
if (rendererString)
needsWorkaround =
qstrncmp(rendererString, "Mali-4xx", 6) == 0 // Mali-400, Mali-450
+ || qstrcmp(rendererString, "Mali-T880") == 0
|| qstrncmp(rendererString, "Adreno (TM) 2xx", 13) == 0 // Adreno 200, 203, 205
|| qstrncmp(rendererString, "Adreno 2xx", 8) == 0 // Same as above but without the '(TM)'
|| qstrncmp(rendererString, "Adreno (TM) 30x", 14) == 0 // Adreno 302, 305