Android: use glyph cache resizing workaround with Vivante GC1000 GPU.

Task-number: QTBUG-38102
Change-Id: I9f423e15b9cbc3d2f424871f47795052b1f53e09
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
Yoann Lopes 2014-04-04 14:38:22 +02:00 committed by The Qt Project
parent 5110831721
commit d03cc17a6c

View File

@ -71,7 +71,8 @@ bool QAndroidPlatformOpenGLContext::needsFBOReadBackWorkaroud()
const char *rendererString = reinterpret_cast<const char *>(glGetString(GL_RENDERER)); const char *rendererString = reinterpret_cast<const char *>(glGetString(GL_RENDERER));
needsWorkaround = needsWorkaround =
qstrcmp(rendererString, "Mali-400 MP") == 0 qstrcmp(rendererString, "Mali-400 MP") == 0
|| qstrcmp(rendererString, "Adreno (TM) 200") == 0; || qstrcmp(rendererString, "Adreno (TM) 200") == 0
|| qstrcmp(rendererString, "GC1000 core") == 0;
set = true; set = true;
} }