Lines Matching +full:virgl +full:- +full:iris +full:- +full:test
4 * Use of this source code is governed by a BSD-style license that can be
50 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile+1, &major, &minor); in GrGLGetStandardInUseFromString()
92 n = sscanf(versionString, "OpenGL ES-%c%c %d.%d", profile, profile + 1, &major, &minor); in GrGLGetVersionFromString()
166 if (0 == strncmp(rendererString, kTegraStr, SK_ARRAY_COUNT(kTegraStr) - 1)) { in get_renderer()
181 if (0 == strncmp(rendererString, kAppleA4Str, SK_ARRAY_COUNT(kAppleA4Str) - 1) || in get_renderer()
182 0 == strncmp(rendererString, kAppleA5Str, SK_ARRAY_COUNT(kAppleA5Str) - 1) || in get_renderer()
183 0 == strncmp(rendererString, kAppleA6Str, SK_ARRAY_COUNT(kAppleA6Str) - 1)) { in get_renderer()
189 if (0 == strncmp(rendererString, kPowerVRRogueStr, SK_ARRAY_COUNT(kPowerVRRogueStr) - 1) || in get_renderer()
190 0 == strncmp(rendererString, kAppleA7Str, SK_ARRAY_COUNT(kAppleA7Str) - 1) || in get_renderer()
191 0 == strncmp(rendererString, kAppleA8Str, SK_ARRAY_COUNT(kAppleA8Str) - 1)) { in get_renderer()
235 // These generic strings seem to always come from Haswell: Iris 5100 or Iris Pro 5200 in get_renderer()
236 if (0 == strcmp("Intel Iris OpenGL Engine", intelString) || in get_renderer()
237 0 == strcmp("Intel Iris Pro OpenGL Engine", intelString)) { in get_renderer()
248 // 'Iris' may appear, followed by '(R)' or '(TM)' in get_renderer()
249 // 'Iris' can then be followed by 'Graphics', 'Pro Graphics', or 'Plus Graphics' in get_renderer()
250 // If 'Iris' isn't there, we might have 'HD Graphics' or 'UHD Graphics' in get_renderer()
342 if (strstr(rendererString, "virgl")) { in get_renderer()
345 static const char kMaliGStr[] = "Mali-G"; in get_renderer()
346 if (0 == strncmp(rendererString, kMaliGStr, SK_ARRAY_COUNT(kMaliGStr) - 1)) { in get_renderer()
349 static const char kMaliTStr[] = "Mali-T"; in get_renderer()
350 if (0 == strncmp(rendererString, kMaliTStr, SK_ARRAY_COUNT(kMaliTStr) - 1)) { in get_renderer()
354 if (1 == sscanf(rendererString, "Mali-%d", &mali400Num) && mali400Num >= 400 && in get_renderer()
488 "%d.%d INTEL-%d.%d.%d", in get_driver_and_version()
524 // OpenGL ES 3.2 v1.r26p0-01rel0.217d2597f6bd19b169343737782e56e3 in get_driver_and_version()
526 // seen so far has "0-01" there. We ignore it for now. in get_driver_and_version()
530 "OpenGL ES %d.%d v%d.r%dp%d-%drel", in get_driver_and_version()
554 // crbug.com/1203705 ANGLE renderer will be "ANGLE (<gl-vendor>, <gl-renderer>, <gl-version>)" in get_angle_backend()
557 static constexpr size_t kHeaderLength = SK_ARRAY_COUNT(kHeader) - 1; in get_angle_backend()
560 rendererString[rendererLength - 1] == ')') { in get_angle_backend()
562 innerString.set(rendererString + kHeaderLength, rendererLength - kHeaderLength - 1); in get_angle_backend()
634 } else if ((modelStr = strstr(innerString, "Iris")) && in get_angle_d3d_vendor_and_renderer()
635 (1 == sscanf(modelStr, "Iris(TM) Graphics %i", &modelNumber) || in get_angle_d3d_vendor_and_renderer()
636 1 == sscanf(modelStr, "Iris(TM) Pro Graphics %i", &modelNumber) || in get_angle_d3d_vendor_and_renderer()
637 1 == sscanf(modelStr, "Iris(TM) Pro Graphics P%i", &modelNumber))) { in get_angle_d3d_vendor_and_renderer()
660 SkASSERT(interface->fStandard != kNone_GrGLStandard); in GrGLGetDriverInfo()
662 info.fStandard = interface->fStandard; in GrGLGetDriverInfo()
665 const GrGLubyte* bytes = interface->fFunctions.fGetString(s); in GrGLGetDriverInfo()
680 info.fRenderer = get_renderer(renderer, interface->fExtensions); in GrGLGetDriverInfo()
682 std::tie(info.fDriver, info.fDriverVersion) = get_driver_and_version(interface->fStandard, in GrGLGetDriverInfo()
704 interface->fExtensions); in GrGLGetDriverInfo()
712 GrGLenum GrToGLStencilFunc(GrStencilTest test) { in GrToGLStencilFunc() argument
731 SkASSERT(test < (GrStencilTest)kGrStencilTestCount); in GrToGLStencilFunc()
733 return gTable[(int)test]; in GrToGLStencilFunc()