Home
last modified time | relevance | path

Searched refs:amdString (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLUtil.cpp300 if (const char* amdString = strstr(rendererString, kRadeonStr)) { in get_renderer() local
301 amdString += strlen(kRadeonStr); in get_renderer()
304 if (!strncmp(amdString, kTMStr, strlen(kTMStr))) { in get_renderer()
305 amdString += strlen(kTMStr); in get_renderer()
310 n = sscanf(amdString, "R9 M3%c%c", &amd0, &amd1); in get_renderer()
315 n = sscanf(amdString, "R9 M4%c%c", &amd0, &amd1); in get_renderer()
320 n = sscanf(amdString, "HD 7%c%c%c Series", &amd0, &amd1, &amd2); in get_renderer()
325 n = sscanf(amdString, "Pro 5%c%c%c", &amd0, &amd1, &amd2); in get_renderer()
330 n = sscanf(amdString, "Pro Vega %i", &amdModel); in get_renderer()
/external/skqp/src/gpu/gl/
DGrGLUtil.cpp407 if (const char* amdString = strstr(rendererString, "Radeon")) { in GrGLGetRendererFromStrings() local
409 n = sscanf(amdString, "Radeon (TM) R9 M%c%c%c", in GrGLGetRendererFromStrings()
418 n = sscanf(amdString, "Radeon HD 7%c%c%c Series", &amd0, &amd1, &amd2); in GrGLGetRendererFromStrings()