/external/angle/src/tests/test_utils/ |
D | angle_test_platform.cpp | 19 std::string rendererString(reinterpret_cast<const char *>(glGetString(GL_RENDERER))); in IsAdreno() 20 return (rendererString.find("Adreno") != std::string::npos); in IsAdreno() 25 std::string rendererString(reinterpret_cast<const char *>(glGetString(GL_RENDERER))); in IsD3D11() 26 return (rendererString.find("Direct3D11 vs_5_0") != std::string::npos); in IsD3D11() 31 std::string rendererString(reinterpret_cast<const char *>(glGetString(GL_RENDERER))); in IsD3D11_FL93() 32 return (rendererString.find("Direct3D11 vs_4_0_") != std::string::npos); in IsD3D11_FL93() 37 std::string rendererString(reinterpret_cast<const char *>(glGetString(GL_RENDERER))); in IsD3D9() 38 return (rendererString.find("Direct3D9") != std::string::npos); in IsD3D9() 53 std::string rendererString(reinterpret_cast<const char *>(glGetString(GL_RENDERER))); in IsOpenGLES() 54 return (rendererString.find("OpenGL ES") != std::string::npos); in IsOpenGLES() [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLUtil.cpp | 98 const char* rendererString, in GrGLGetDriverInfo() argument 108 if (!rendererString) { in GrGLGetDriverInfo() 109 rendererString = ""; in GrGLGetDriverInfo() 117 if (0 == strcmp(rendererString, kChromium) || in GrGLGetDriverInfo() 166 if (0 == strncmp("ANGLE", rendererString, 5)) { in GrGLGetDriverInfo() 307 static bool is_renderer_angle(const char* rendererString) { in is_renderer_angle() argument 310 return rendererString && 0 == strncmp(rendererString, kHeader, kHeaderLength); in is_renderer_angle() 313 GrGLRenderer GrGLGetRendererFromStrings(const char* rendererString, in GrGLGetRendererFromStrings() argument 315 if (rendererString) { in GrGLGetRendererFromStrings() 317 if (0 == strncmp(rendererString, kTegraStr, SK_ARRAY_COUNT(kTegraStr) - 1)) { in GrGLGetRendererFromStrings() [all …]
|
D | GrGLUtil.h | 173 GrGLRenderer GrGLGetRendererFromStrings(const char* rendererString, const GrGLExtensions&); 174 void GrGLGetANGLEInfoFromString(const char* rendererString, GrGLANGLEBackend*, 179 const char* rendererString,
|
/external/angle/src/libANGLE/renderer/gl/ |
D | DisplayGL.cpp | 36 std::string SanitizeRendererString(std::string rendererString) in SanitizeRendererString() argument 38 size_t pos = rendererString.find(", DRM "); in SanitizeRendererString() 41 rendererString.resize(pos); in SanitizeRendererString() 42 rendererString.push_back(')'); in SanitizeRendererString() 43 return rendererString; in SanitizeRendererString() 45 pos = rendererString.find(" (DRM "); in SanitizeRendererString() 48 rendererString.resize(pos); in SanitizeRendererString() 49 return rendererString; in SanitizeRendererString() 51 return rendererString; in SanitizeRendererString() 150 std::string rendererString = GetRendererString(getRenderer()->getFunctions()); in getRendererDescription() local [all …]
|
D | DisplayGL_unittest.cpp | 15 extern std::string SanitizeRendererString(std::string rendererString);
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 163 static GrGLRenderer get_renderer(const char* rendererString, const GrGLExtensions& extensions) { in get_renderer() argument 164 SkASSERT(rendererString); in get_renderer() 166 if (0 == strncmp(rendererString, kTegraStr, SK_ARRAY_COUNT(kTegraStr) - 1)) { in get_renderer() 173 int n = sscanf(rendererString, "PowerVR SGX 54%d", &lastDigit); 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() [all …]
|
/external/angle/src/tests/gl_tests/ |
D | RendererTest.cpp | 43 std::string rendererString = in TEST_P() local 45 angle::ToLower(&rendererString); in TEST_P() 56 ASSERT_NE(rendererString.find(std::string("direct3d11")), std::string::npos); in TEST_P() 62 ASSERT_NE(rendererString.find(std::string("direct3d9")), std::string::npos); in TEST_P() 71 auto basicRenderPos = rendererString.find(std::string("microsoft basic render")); in TEST_P() 72 auto softwareAdapterPos = rendererString.find(std::string("software adapter")); in TEST_P() 112 if (rendererString.find(acceptableShaderModels[i]) != std::string::npos) in TEST_P()
|
D | ProgramBinaryTest.cpp | 1283 std::string rendererString = in TEST_P() local 1285 angle::ToLower(&rendererString); in TEST_P() 1287 auto basicRenderPos = rendererString.find(std::string("microsoft basic render")); in TEST_P() 1288 auto softwareAdapterPos = rendererString.find(std::string("software adapter")); in TEST_P()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | Renderer9.cpp | 2356 std::ostringstream rendererString; in getRendererDescription() local 2358 rendererString << mAdapterIdentifier.Description; in getRendererDescription() 2361 rendererString << " Direct3D9Ex"; in getRendererDescription() 2365 rendererString << " Direct3D9"; in getRendererDescription() 2368 rendererString << " vs_" << D3DSHADER_VERSION_MAJOR(mDeviceCaps.VertexShaderVersion) << "_" in getRendererDescription() 2370 rendererString << " ps_" << D3DSHADER_VERSION_MAJOR(mDeviceCaps.PixelShaderVersion) << "_" in getRendererDescription() 2373 return rendererString.str(); in getRendererDescription()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Renderer11.cpp | 2260 std::ostringstream rendererString; in getRendererDescription() local 2262 rendererString << mDescription; in getRendererDescription() 2263 rendererString << " Direct3D11"; in getRendererDescription() 2265 rendererString << " vs_" << getMajorShaderModel() << "_" << getMinorShaderModel() in getRendererDescription() 2267 rendererString << " ps_" << getMajorShaderModel() << "_" << getMinorShaderModel() in getRendererDescription() 2270 return rendererString.str(); in getRendererDescription()
|
/external/angle/src/libANGLE/ |
D | Context.cpp | 3131 std::string rendererString(mDisplay->getBackendRendererDescription()); in initRendererString() local 3137 rendererString.erase(std::remove(rendererString.begin(), rendererString.end(), ','), in initRendererString() 3138 rendererString.end()); in initRendererString() 3144 frontendRendererString << rendererString; in initRendererString()
|