Searched refs:amdString (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 303 if (const char* amdString = strstr(rendererString, kRadeonStr)) { in get_renderer() local 304 amdString += strlen(kRadeonStr); in get_renderer() 307 if (!strncmp(amdString, kTMStr, strlen(kTMStr))) { in get_renderer() 308 amdString += strlen(kTMStr); in get_renderer() 313 n = sscanf(amdString, "R9 M3%c%c", &amd0, &amd1); in get_renderer() 318 n = sscanf(amdString, "R9 M4%c%c", &amd0, &amd1); in get_renderer() 323 n = sscanf(amdString, "HD 7%c%c%c Series", &amd0, &amd1, &amd2); in get_renderer() 328 n = sscanf(amdString, "Pro 5%c%c%c", &amd0, &amd1, &amd2); in get_renderer() 333 n = sscanf(amdString, "Pro Vega %i", &amdModel); in get_renderer()
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 458 if (const char* amdString = strstr(rendererString, "Radeon")) { in GrGLGetRendererFromStrings() local 460 n = sscanf(amdString, "Radeon (TM) R9 M%c%c%c", in GrGLGetRendererFromStrings() 469 n = sscanf(amdString, "Radeon HD 7%c%c%c Series", &amd0, &amd1, &amd2); in GrGLGetRendererFromStrings()
|