• Home
  • Raw
  • Download

Lines Matching refs:versionString

66 GrGLStandard GrGLGetStandardInUseFromString(const char* versionString) {  in GrGLGetStandardInUseFromString()  argument
67 if (nullptr == versionString) { in GrGLGetStandardInUseFromString()
75 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
82 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
89 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetStandardInUseFromString()
99 const char* versionString, in GrGLGetDriverInfo() argument
111 if (!versionString) { in GrGLGetDriverInfo()
112 versionString = ""; in GrGLGetDriverInfo()
118 (3 == sscanf(versionString, "OpenGL ES %d.%d %8s", &major, &minor, suffix) && in GrGLGetDriverInfo()
127 int n = sscanf(versionString, "%d.%d.%d NVIDIA %d.%d", in GrGLGetDriverInfo()
135 int n = sscanf(versionString, "%d.%d Mesa %d.%d", in GrGLGetDriverInfo()
138 n = sscanf(versionString, "%d.%d (Core Profile) Mesa %d.%d", in GrGLGetDriverInfo()
150 int n = sscanf(versionString, "OpenGL ES %d.%d NVIDIA %d.%d", in GrGLGetDriverInfo()
159 int n = sscanf(versionString, "OpenGL ES %d.%d Mesa %d.%d", in GrGLGetDriverInfo()
168 n = sscanf(versionString, "OpenGL ES %d.%d (ANGLE %d.%d", &major, &minor, &driverMajor, in GrGLGetDriverInfo()
184 int n = sscanf(versionString, "OpenGL ES %d.%d SwiftShader %d.%d.0.%d", &major, &minor, in GrGLGetDriverInfo()
198 int n = sscanf(versionString, "%d.%d INTEL-%d.%d.%d", &major, &minor, &driverMajor, in GrGLGetDriverInfo()
207 int n = sscanf(versionString, "OpenGL ES %d.%d V@%d.%d", &major, &minor, &driverMajor, in GrGLGetDriverInfo()
216 GrGLVersion GrGLGetVersionFromString(const char* versionString) { in GrGLGetVersionFromString() argument
217 if (nullptr == versionString) { in GrGLGetVersionFromString()
226 int n = sscanf(versionString, "%d.%d Mesa %d.%d", &major, &minor, &mesaMajor, &mesaMinor); in GrGLGetVersionFromString()
231 n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetVersionFromString()
237 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, in GrGLGetVersionFromString()
243 n = sscanf(versionString, "OpenGL ES %d.%d", &major, &minor); in GrGLGetVersionFromString()
251 GrGLSLVersion GrGLGetGLSLVersionFromString(const char* versionString) { in GrGLGetGLSLVersionFromString() argument
252 if (nullptr == versionString) { in GrGLGetGLSLVersionFromString()
259 int n = sscanf(versionString, "%d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
264 n = sscanf(versionString, "OpenGL ES GLSL ES %d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()
271 n = sscanf(versionString, "OpenGL ES GLSL %d.%d", &major, &minor); in GrGLGetGLSLVersionFromString()