Lines Matching refs:versionString
65 GrGLStandard GrGLGetStandardInUseFromString(const char* versionString) {
66 if (nullptr == versionString) {
74 int n = sscanf(versionString, "%d.%d", &major, &minor);
81 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor);
88 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor);
98 const char* versionString,
114 int n = sscanf(versionString, "%d.%d.%d NVIDIA %d.%d",
123 int n = sscanf(versionString, "%d.%d Mesa %d.%d",
134 int n = sscanf(versionString, "OpenGL ES %d.%d NVIDIA %d.%d",
143 int n = sscanf(versionString, "OpenGL ES %d.%d Mesa %d.%d",
152 n = sscanf(versionString, "OpenGL ES %d.%d (ANGLE %d.%d", &major, &minor, &driverMajor,
167 GrGLVersion GrGLGetVersionFromString(const char* versionString) {
168 if (nullptr == versionString) {
177 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor);
182 n = sscanf(versionString, "%d.%d", &major, &minor);
188 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1,
194 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor);
202 GrGLSLVersion GrGLGetGLSLVersionFromString(const char* versionString) {
203 if (nullptr == versionString) {
210 int n = sscanf(versionString, "%d.%d", &major, &minor);
215 n = sscanf(versionString, "OpenGL ES GLSL ES %d.%d", &major, &minor);
222 n = sscanf(versionString, "OpenGL ES GLSL %d.%d", &major, &minor);