Lines Matching refs:versionString
65 GrGLStandard GrGLGetStandardInUseFromString(const char* versionString) { in GrGLGetStandardInUseFromString() argument
66 if (nullptr == versionString) { in GrGLGetStandardInUseFromString()
74 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
81 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
88 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
98 const char* versionString, in GrGLGetDriverInfo() argument
110 if (!versionString) { in GrGLGetDriverInfo()
111 versionString = ""; in GrGLGetDriverInfo()
117 (3 == sscanf(versionString, "OpenGL ES %d.%d %8s", &major, &minor, suffix) && in GrGLGetDriverInfo()
126 int n = sscanf(versionString, "%d.%d.%d NVIDIA %d.%d", in GrGLGetDriverInfo()
134 int n = sscanf(versionString, "%d.%d Mesa %d.%d", in GrGLGetDriverInfo()
145 int n = sscanf(versionString, "OpenGL ES %d.%d NVIDIA %d.%d", in GrGLGetDriverInfo()
154 int n = sscanf(versionString, "OpenGL ES %d.%d Mesa %d.%d", in GrGLGetDriverInfo()
163 n = sscanf(versionString, "OpenGL ES %d.%d (ANGLE %d.%d", &major, &minor, &driverMajor, in GrGLGetDriverInfo()
179 int n = sscanf(versionString, "OpenGL ES %d.%d V@%d.%d", &major, &minor, &driverMajor, in GrGLGetDriverInfo()
188 GrGLVersion GrGLGetVersionFromString(const char* versionString) { in GrGLGetVersionFromString() argument
189 if (nullptr == versionString) { in GrGLGetVersionFromString()
198 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLGetVersionFromString()
203 n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString()
209 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, in GrGLGetVersionFromString()
215 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetVersionFromString()
223 GrGLSLVersion GrGLGetGLSLVersionFromString(const char* versionString) { in GrGLGetGLSLVersionFromString() argument
224 if (nullptr == versionString) { in GrGLGetGLSLVersionFromString()
231 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
236 n = sscanf(versionString, "OpenGL ES GLSL ES %d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
243 n = sscanf(versionString, "OpenGL ES GLSL %d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()