/third_party/flutter/skia/third_party/externals/angle2/src/feature_support_util/ |
D | feature_support_util_unittest.cpp | 68 SystemInfo systemInfo = mSystemInfo; in TEST_F() local 69 systemInfo.machineManufacturer = "BAD"; in TEST_F() 70 systemInfo.machineModelName = "BAD"; in TEST_F() 72 ANGLEAddDeviceInfoToSystemInfo(kMfr, kModel, &systemInfo); in TEST_F() 73 EXPECT_EQ(kMfr, systemInfo.machineManufacturer); in TEST_F() 74 EXPECT_EQ(kModel, systemInfo.machineModelName); in TEST_F() 100 SystemInfo systemInfo = mSystemInfo; in TEST_F() local 150 EXPECT_FALSE(ANGLEShouldBeUsedForApplication(rulesHandle, rulesVersion, &systemInfo, kApp1)); in TEST_F() 153 systemInfo.gpus[0].detailedDriverVersion = {1, 2, 3, 5}; in TEST_F() 154 EXPECT_TRUE(ANGLEShouldBeUsedForApplication(rulesHandle, rulesVersion, &systemInfo, kApp1)); in TEST_F() [all …]
|
D | feature_support_util.cpp | 848 angle::SystemInfo *systemInfo = new angle::SystemInfo; in ANGLEGetSystemInfo() local 849 systemInfo->gpus.resize(1); in ANGLEGetSystemInfo() 850 GPUDeviceInfo &gpu = systemInfo->gpus[0]; in ANGLEGetSystemInfo() 856 *systemInfoHandle = systemInfo; in ANGLEGetSystemInfo() 865 angle::SystemInfo *systemInfo = static_cast<angle::SystemInfo *>(systemInfoHandle); in ANGLEAddDeviceInfoToSystemInfo() local 866 if (!deviceMfr || !deviceModel || !systemInfo) in ANGLEAddDeviceInfoToSystemInfo() 871 systemInfo->machineManufacturer = deviceMfr; in ANGLEAddDeviceInfoToSystemInfo() 872 systemInfo->machineModelName = deviceModel; in ANGLEAddDeviceInfoToSystemInfo() 883 angle::SystemInfo *systemInfo = static_cast<angle::SystemInfo *>(systemInfoHandle); in ANGLEShouldBeUsedForApplication() local 884 if (!rules || !systemInfo || !appName || (systemInfo->gpus.size() != 1)) in ANGLEShouldBeUsedForApplication() [all …]
|
/third_party/skia/third_party/externals/angle2/src/feature_support_util/ |
D | feature_support_util_unittest.cpp | 68 SystemInfo systemInfo = mSystemInfo; in TEST_F() local 69 systemInfo.machineManufacturer = "BAD"; in TEST_F() 70 systemInfo.machineModelName = "BAD"; in TEST_F() 72 ANGLEAddDeviceInfoToSystemInfo(kMfr, kModel, &systemInfo); in TEST_F() 73 EXPECT_EQ(kMfr, systemInfo.machineManufacturer); in TEST_F() 74 EXPECT_EQ(kModel, systemInfo.machineModelName); in TEST_F() 100 SystemInfo systemInfo = mSystemInfo; in TEST_F() local 150 EXPECT_FALSE(ANGLEShouldBeUsedForApplication(rulesHandle, rulesVersion, &systemInfo, kApp1)); in TEST_F() 153 systemInfo.gpus[0].detailedDriverVersion = {1, 2, 3, 5}; in TEST_F() 154 EXPECT_TRUE(ANGLEShouldBeUsedForApplication(rulesHandle, rulesVersion, &systemInfo, kApp1)); in TEST_F() [all …]
|
D | feature_support_util.cpp | 811 angle::SystemInfo *systemInfo = new angle::SystemInfo; in ANGLEGetSystemInfo() local 812 systemInfo->gpus.resize(1); in ANGLEGetSystemInfo() 813 GPUDeviceInfo &gpu = systemInfo->gpus[0]; in ANGLEGetSystemInfo() 819 *systemInfoHandle = systemInfo; in ANGLEGetSystemInfo() 828 angle::SystemInfo *systemInfo = static_cast<angle::SystemInfo *>(systemInfoHandle); in ANGLEAddDeviceInfoToSystemInfo() local 829 if (!deviceMfr || !deviceModel || !systemInfo) in ANGLEAddDeviceInfoToSystemInfo() 834 systemInfo->machineManufacturer = deviceMfr; in ANGLEAddDeviceInfoToSystemInfo() 835 systemInfo->machineModelName = deviceModel; in ANGLEAddDeviceInfoToSystemInfo() 846 angle::SystemInfo *systemInfo = static_cast<angle::SystemInfo *>(systemInfoHandle); in ANGLEShouldBeUsedForApplication() local 847 if (!rules || !systemInfo || !appName || (systemInfo->gpus.size() != 1)) in ANGLEShouldBeUsedForApplication() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | angle_test_instantiate.cpp | 81 SystemInfo *systemInfo = GetTestSystemInfo(); in IsAndroidDevice() local 82 if (systemInfo->machineModelName == deviceName) in IsAndroidDevice() 91 SystemInfo *systemInfo = GetTestSystemInfo(); in HasSystemVendorID() local 93 if (systemInfo->activeGPUIndex < 0 || systemInfo->gpus.empty()) in HasSystemVendorID() 97 return systemInfo->gpus[systemInfo->activeGPUIndex].vendorId == vendorID; in HasSystemVendorID() 232 bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters ¶m) in IsConfigWhitelisted() argument 234 VendorID vendorID = systemInfo.gpus[systemInfo.activeGPUIndex].vendorId; in IsConfigWhitelisted() 467 const SystemInfo *systemInfo = GetTestSystemInfo(); in IsPlatformAvailable() local 469 if (systemInfo) in IsPlatformAvailable() 471 result = IsConfigWhitelisted(*systemInfo, param); in IsPlatformAvailable()
|
D | angle_test_instantiate.h | 123 bool IsConfigWhitelisted(const SystemInfo &systemInfo, const PlatformParameters ¶m);
|
D | ANGLETest.cpp | 174 SystemInfo *systemInfo = GetTestSystemInfo(); in ShouldAlwaysForceNewDisplay() local 175 return (!systemInfo || !IsWindows() || systemInfo->hasAMDGPU()); in ShouldAlwaysForceNewDisplay()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | angle_test_instantiate.cpp | 106 SystemInfo *systemInfo = GetTestSystemInfo(); in IsAndroidDevice() local 107 if (systemInfo->machineModelName == deviceName) in IsAndroidDevice() 120 SystemInfo *systemInfo = GetTestSystemInfo(); in IsAndroid9OrNewer() local 121 if (systemInfo->androidSdkLevel >= 28) in IsAndroid9OrNewer() 130 SystemInfo *systemInfo = GetTestSystemInfo(); in GetActiveGPUDeviceInfo() local 132 if (systemInfo->gpus.empty()) in GetActiveGPUDeviceInfo() 136 return &systemInfo->gpus[systemInfo->activeGPUIndex]; in GetActiveGPUDeviceInfo() 407 bool IsConfigAllowlisted(const SystemInfo &systemInfo, const PlatformParameters ¶m) in IsConfigAllowlisted() argument 410 systemInfo.gpus.empty() ? 0 : systemInfo.gpus[systemInfo.activeGPUIndex].vendorId; in IsConfigAllowlisted() 728 const SystemInfo *systemInfo = GetTestSystemInfo(); in IsPlatformAvailable() local [all …]
|
D | ANGLETest.cpp | 189 SystemInfo *systemInfo = GetTestSystemInfo(); in ShouldAlwaysForceNewDisplay() local 190 return (!systemInfo || !IsWindows() || systemInfo->hasAMDGPU()); in ShouldAlwaysForceNewDisplay()
|
D | angle_test_instantiate.h | 256 bool IsConfigAllowlisted(const SystemInfo &systemInfo, const PlatformParameters ¶m);
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_expectations/ |
D | GPUTestConfig.cpp | 338 SystemInfo *systemInfo = nullptr; in GetActiveGPU() local 339 GetGPUTestSystemInfo(&systemInfo); in GetActiveGPU() 340 if (systemInfo->gpus.size() <= 0) in GetActiveGPU() 347 if (systemInfo->activeGPUIndex != -1) in GetActiveGPU() 349 index = systemInfo->activeGPUIndex; in GetActiveGPU() 351 ASSERT(index < systemInfo->gpus.size()); in GetActiveGPU() 352 *devInfo = &(systemInfo->gpus[index]); in GetActiveGPU() 433 SystemInfo *systemInfo = nullptr; in IsAndroidDevice() local 434 GetGPUTestSystemInfo(&systemInfo); in IsAndroidDevice() 435 if (systemInfo->machineModelName == deviceName) in IsAndroidDevice()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_expectations/ |
D | GPUTestConfig.cpp | 310 SystemInfo *systemInfo = nullptr; in GetActiveGPU() local 311 GetGPUTestSystemInfo(&systemInfo); in GetActiveGPU() 312 if (systemInfo->gpus.size() <= 0) in GetActiveGPU() 316 uint32_t index = systemInfo->activeGPUIndex; in GetActiveGPU() 317 ASSERT(index < systemInfo->gpus.size()); in GetActiveGPU() 318 *devInfo = &(systemInfo->gpus[index]); in GetActiveGPU() 405 SystemInfo *systemInfo = nullptr; in IsAndroidDevice() local 406 GetGPUTestSystemInfo(&systemInfo); in IsAndroidDevice() 407 if (systemInfo->machineModelName == deviceName) in IsAndroidDevice()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLSanityCheckTest.cpp | 52 SystemInfo systemInfo; in TEST_P() local 53 ANGLE_SKIP_TEST_IF(!GetSystemInfo(&systemInfo)); in TEST_P() 55 auto check = [&systemInfo](const PlatformParameters ¶ms) { in TEST_P() 56 EXPECT_EQ(IsConfigWhitelisted(systemInfo, params), IsConfigSupported(params)) << params; in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLReadinessCheckTest.cpp | 52 SystemInfo systemInfo; in TEST_P() local 53 ANGLE_SKIP_TEST_IF(!GetSystemInfo(&systemInfo)); in TEST_P() 55 auto check = [&systemInfo](const PlatformParameters ¶ms) { in TEST_P() 56 EXPECT_EQ(IsConfigAllowlisted(systemInfo, params), IsConfigSupported(params)) << params; in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | Memory.cpp | 79 SYSTEM_INFO systemInfo; in memoryPageSize() local 80 GetSystemInfo(&systemInfo); in memoryPageSize() 81 pageSize = systemInfo.dwPageSize; in memoryPageSize()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | DrawBaseVertexBaseInstanceTest.cpp | 562 SystemInfo *systemInfo = GetTestSystemInfo(); in TEST_P() local 563 if (!systemInfo->gpus.empty()) in TEST_P() 565 ANGLE_SKIP_TEST_IF(0x6613 == systemInfo->gpus[systemInfo->activeGPUIndex].deviceId); in TEST_P() 599 SystemInfo *systemInfo = GetTestSystemInfo(); in TEST_P() local 600 if (!(systemInfo->activeGPUIndex < 0 || systemInfo->gpus.empty())) in TEST_P() 602 ANGLE_SKIP_TEST_IF(0x6613 == systemInfo->gpus[systemInfo->activeGPUIndex].deviceId); in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
D | Memory.cpp | 65 SYSTEM_INFO systemInfo; in memoryPageSize() local 66 GetSystemInfo(&systemInfo); in memoryPageSize() 67 return systemInfo.dwPageSize; in memoryPageSize()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | memory.cpp | 101 SYSTEM_INFO systemInfo = {}; in pageSize() local 102 GetSystemInfo(&systemInfo); in pageSize() 103 return systemInfo.dwPageSize; in pageSize()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | ExecutableMemory.cpp | 225 SYSTEM_INFO systemInfo; in memoryPageSize() local 226 GetSystemInfo(&systemInfo); in memoryPageSize() 227 return systemInfo.dwPageSize; in memoryPageSize()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | renderergl_utils.cpp | 1854 bool Has9thGenIntelGPU(const angle::SystemInfo &systemInfo) in Has9thGenIntelGPU() argument 1856 for (const angle::GPUDeviceInfo &deviceInfo : systemInfo.gpus) in Has9thGenIntelGPU() 1871 angle::SystemInfo systemInfo; in InitializeFeatures() local 1874 GetSystemInfoVendorIDAndDeviceID(functions, &systemInfo, &vendor, &device); in InitializeFeatures() 1881 bool hasAMD = systemInfo.hasAMDGPU(); in InitializeFeatures() 2101 isDualGPUMacWithNVIDIA = systemInfo.isMacSwitchable && systemInfo.hasNVIDIAGPU(); in InitializeFeatures() 2168 IsApple() && Has9thGenIntelGPU(systemInfo)); in InitializeFeatures() 2219 angle::SystemInfo systemInfo; in ReInitializeFeaturesAtGPUSwitch() local 2221 GetSystemInfoVendorIDAndDeviceID(functions, &systemInfo, &vendor, &device); in ReInitializeFeaturesAtGPUSwitch()
|