Lines Matching refs:minor
71 int major, minor; in GrGLGetStandardInUseFromString() local
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()
101 int major, minor, rev, driverMajor, driverMinor; in GrGLGetDriverInfo() local
115 &major, &minor, &rev, &driverMajor, &driverMinor); in GrGLGetDriverInfo()
124 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo()
135 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo()
144 &major, &minor, &driverMajor, &driverMinor); in GrGLGetDriverInfo()
152 n = sscanf(versionString, "OpenGL ES %d.%d (ANGLE %d.%d", &major, &minor, &driverMajor, in GrGLGetDriverInfo()
173 int major, minor; in GrGLGetVersionFromString() local
177 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLGetVersionFromString()
179 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
182 n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString()
184 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
189 &major, &minor); in GrGLGetVersionFromString()
191 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
194 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetVersionFromString()
196 return GR_GL_VER(major, minor); in GrGLGetVersionFromString()
208 int major, minor; in GrGLGetGLSLVersionFromString() local
210 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
212 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
215 n = sscanf(versionString, "OpenGL ES GLSL ES %d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
217 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()
222 n = sscanf(versionString, "OpenGL ES GLSL %d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
224 return GR_GLSL_VER(major, minor); in GrGLGetGLSLVersionFromString()