/external/chromium_org/gpu/config/ |
D | gpu_control_list_entry_unittest.cc | 25 const GPUInfo& gpu_info() const { in gpu_info() function in gpu::GpuControlListEntryTest 110 EXPECT_FALSE(entry->NeedsMoreInfo(gpu_info())); in TEST_F() 112 GpuControlList::kOsMacosx, "10.6.4", gpu_info())); in TEST_F() 137 EXPECT_TRUE(entry->Contains(os_type[i], "10.6", gpu_info())); in TEST_F() 164 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info())); in TEST_F() 166 GpuControlList::kOsLinux, "10.6", gpu_info())); in TEST_F() 198 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info())); in TEST_F() 229 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info())); in TEST_F() 231 GpuControlList::kOsLinux, "10.6", gpu_info())); in TEST_F() 254 GPUInfo gpu_info; in TEST_F() local [all …]
|
D | gpu_info_collector_linux.cc | 72 CollectInfoResult CollectPCIVideoCardInfo(GPUInfo* gpu_info) { in CollectPCIVideoCardInfo() argument 73 DCHECK(gpu_info); in CollectPCIVideoCardInfo() 119 gpu_info->gpu = gpu; in CollectPCIVideoCardInfo() 124 if (gpu_info->gpu.vendor_id == kVendorIDIntel && in CollectPCIVideoCardInfo() 126 gpu_info->secondary_gpus.push_back(gpu_info->gpu); in CollectPCIVideoCardInfo() 127 gpu_info->gpu = gpu; in CollectPCIVideoCardInfo() 129 gpu_info->secondary_gpus.push_back(gpu); in CollectPCIVideoCardInfo() 135 if (gpu_info->secondary_gpus.size() == 1 && in CollectPCIVideoCardInfo() 136 gpu_info->secondary_gpus[0].vendor_id == kVendorIDIntel) { in CollectPCIVideoCardInfo() 137 if (gpu_info->gpu.vendor_id == kVendorIDNVidia) in CollectPCIVideoCardInfo() [all …]
|
D | gpu_info_unittest.cc | 12 GPUInfo gpu_info; in TEST() local 13 EXPECT_EQ(gpu_info.initialization_time.ToInternalValue(), 0); in TEST() 14 EXPECT_EQ(gpu_info.gpu.vendor_id, 0u); in TEST() 15 EXPECT_EQ(gpu_info.gpu.device_id, 0u); in TEST() 16 EXPECT_EQ(gpu_info.secondary_gpus.size(), 0u); in TEST() 17 EXPECT_EQ(gpu_info.driver_vendor, ""); in TEST() 18 EXPECT_EQ(gpu_info.driver_version, ""); in TEST() 19 EXPECT_EQ(gpu_info.driver_date, ""); in TEST() 20 EXPECT_EQ(gpu_info.pixel_shader_version, ""); in TEST() 21 EXPECT_EQ(gpu_info.vertex_shader_version, ""); in TEST() [all …]
|
D | gpu_control_list_unittest.cc | 37 const GPUInfo& gpu_info() const { in gpu_info() function in gpu::GpuControlListTest 76 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); in TEST_F() 96 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); in TEST_F() 133 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); in TEST_F() 141 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); in TEST_F() 172 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); in TEST_F() 175 GpuControlList::kOsWin, kOsVersion, gpu_info()); in TEST_F() 178 GpuControlList::kOsLinux, kOsVersion, gpu_info()); in TEST_F() 186 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); in TEST_F() 189 GpuControlList::kOsWin, kOsVersion, gpu_info()); in TEST_F() [all …]
|
D | gpu_info_collector_unittest.cc | 111 GPUInfo gpu_info; in TEST_F() local 112 CollectGraphicsInfoGL(&gpu_info); in TEST_F() 114 gpu_info.driver_vendor); in TEST_F() 120 GPUInfo gpu_info; in TEST_F() local 121 CollectGraphicsInfoGL(&gpu_info); in TEST_F() 123 gpu_info.driver_version); in TEST_F() 128 GPUInfo gpu_info; in TEST_F() local 129 CollectGraphicsInfoGL(&gpu_info); in TEST_F() 131 gpu_info.pixel_shader_version); in TEST_F() 135 GPUInfo gpu_info; in TEST_F() local [all …]
|
D | gpu_info_collector_win.cc | 209 bool D3D11ShouldWork(const GPUInfo& gpu_info) { in D3D11ShouldWork() argument 221 if (gpu_info.display_link_version.IsValid()) in D3D11ShouldWork() 366 void GetAMDVideocardInfo(GPUInfo* gpu_info); 368 void GetAMDVideocardInfo(GPUInfo* gpu_info) { in GetAMDVideocardInfo() argument 369 DCHECK(gpu_info); in GetAMDVideocardInfo() 375 GPUInfo* gpu_info) { in CollectDriverInfoD3D() argument 435 GetAMDVideocardInfo(gpu_info); in CollectDriverInfoD3D() 436 if (!gpu_info->amd_switchable && in CollectDriverInfoD3D() 437 gpu_info->gpu.vendor_id == 0x8086) { in CollectDriverInfoD3D() 438 gpu_info->amd_switchable = true; in CollectDriverInfoD3D() [all …]
|
D | gpu_driver_bug_list_unittest.cc | 24 const GPUInfo& gpu_info() const { in gpu_info() function in gpu::GpuDriverBugListTest 61 GPUInfo gpu_info; in TEST_F() local 62 gpu_info.gl_vendor = "ARM"; in TEST_F() 63 gpu_info.gl_renderer = "MALi_T604"; in TEST_F() 65 GpuControlList::kOsAndroid, "4.1", gpu_info); in TEST_F() 73 GPUInfo gpu_info; in TEST_F() local 74 gpu_info.gl_vendor = "Imagination Technologies"; in TEST_F() 75 gpu_info.gl_renderer = "PowerVR SGX 540"; in TEST_F() 77 GpuControlList::kOsAndroid, "4.1", gpu_info); in TEST_F() 111 GpuControlList::kOsMacosx, "10.8", gpu_info()); in TEST_F() [all …]
|
D | gpu_info_collector_android.cc | 87 CollectInfoResult CollectContextGraphicsInfo(GPUInfo* gpu_info) { in CollectContextGraphicsInfo() argument 88 return CollectBasicGraphicsInfo(gpu_info); in CollectContextGraphicsInfo() 98 CollectInfoResult CollectBasicGraphicsInfo(GPUInfo* gpu_info) { in CollectBasicGraphicsInfo() argument 99 gpu_info->can_lose_context = false; in CollectBasicGraphicsInfo() 101 gpu_info->machine_model_name = in CollectBasicGraphicsInfo() 107 CollectInfoResult result = CollectGraphicsInfoGL(gpu_info); in CollectBasicGraphicsInfo() 108 gpu_info->basic_info_state = result; in CollectBasicGraphicsInfo() 109 gpu_info->context_info_state = result; in CollectBasicGraphicsInfo() 113 CollectInfoResult CollectDriverInfoGL(GPUInfo* gpu_info) { in CollectDriverInfoGL() argument 114 gpu_info->driver_version = GetDriverVersionFromString( in CollectDriverInfoGL() [all …]
|
D | gpu_info_collector_mac.mm | 65 CollectInfoResult CollectPCIVideoCardInfo(GPUInfo* gpu_info) { 66 DCHECK(gpu_info); 102 gpu_info->gpu = gpu_list[0]; 115 gpu_info->amd_switchable = true; 119 gpu_info->optimus = true; 128 gpu_info->gpu = gpu_list[discrete]; 129 gpu_info->secondary_gpus.push_back(gpu_list[integrated]); 150 gpu_info->gpu = gpu_list[i]; 152 gpu_info->secondary_gpus.push_back(gpu_list[i]); 157 if (gpu_info->gpu.vendor_id == 0 || gpu_info->gpu.device_id == 0) [all …]
|
D | gpu_info_collector.cc | 83 CollectInfoResult CollectGraphicsInfoGL(GPUInfo* gpu_info) { in CollectGraphicsInfoGL() argument 99 gpu_info->gl_renderer = GetGLString(GL_RENDERER); in CollectGraphicsInfoGL() 100 gpu_info->gl_vendor = GetGLString(GL_VENDOR); in CollectGraphicsInfoGL() 101 gpu_info->gl_extensions = GetGLString(GL_EXTENSIONS); in CollectGraphicsInfoGL() 102 gpu_info->gl_version = GetGLString(GL_VERSION); in CollectGraphicsInfoGL() 107 gpu_info->gl_ws_vendor = window_system_binding_info.vendor; in CollectGraphicsInfoGL() 108 gpu_info->gl_ws_version = window_system_binding_info.version; in CollectGraphicsInfoGL() 109 gpu_info->gl_ws_extensions = window_system_binding_info.extensions; in CollectGraphicsInfoGL() 110 gpu_info->direct_rendering = window_system_binding_info.direct_rendering; in CollectGraphicsInfoGL() 114 gpu_info->gl_extensions.find("GL_EXT_robustness") != std::string::npos || in CollectGraphicsInfoGL() [all …]
|
D | gpu_test_config_unittest.cc | 32 GPUInfo gpu_info; in TEST_F() local 33 gpu_info.gpu.vendor_id = 0x10de; in TEST_F() 34 gpu_info.gpu.device_id = 0x0640; in TEST_F() 36 EXPECT_TRUE(config.SetGPUInfo(gpu_info)); in TEST_F() 38 EXPECT_EQ(gpu_info.gpu.vendor_id, config.gpu_vendor()[0]); in TEST_F() 39 EXPECT_EQ(gpu_info.gpu.device_id, config.gpu_device_id()); in TEST_F() 41 gpu_info.gpu.vendor_id = 0x8086; in TEST_F() 42 gpu_info.gpu.device_id = 0x0046; in TEST_F() 43 EXPECT_TRUE(config.SetGPUInfo(gpu_info)); in TEST_F() 45 EXPECT_EQ(gpu_info.gpu.vendor_id, config.gpu_vendor()[0]); in TEST_F() [all …]
|
D | gpu_control_list.cc | 1102 const GPUInfo& gpu_info) const { in Contains() 1110 candidates.push_back(gpu_info.gpu); in Contains() 1113 candidates = gpu_info.secondary_gpus; in Contains() 1116 candidates = gpu_info.secondary_gpus; in Contains() 1117 candidates.push_back(gpu_info.gpu); in Contains() 1120 if (gpu_info.gpu.active) in Contains() 1121 candidates.push_back(gpu_info.gpu); in Contains() 1122 for (size_t ii = 0; ii < gpu_info.secondary_gpus.size(); ++ii) { in Contains() 1123 if (gpu_info.secondary_gpus[ii].active) in Contains() 1124 candidates.push_back(gpu_info.secondary_gpus[ii]); in Contains() [all …]
|
D | gpu_info_collector.h | 22 GPU_EXPORT CollectInfoResult CollectBasicGraphicsInfo(GPUInfo* gpu_info); 26 GPU_EXPORT CollectInfoResult CollectContextGraphicsInfo(GPUInfo* gpu_info); 34 GPU_EXPORT CollectInfoResult CollectGraphicsInfoGL(GPUInfo* gpu_info); 37 GPU_EXPORT CollectInfoResult CollectDriverInfoGL(GPUInfo* gpu_info);
|
D | gpu_util.cc | 57 GPUInfo gpu_info; in ApplyGpuDriverBugWorkarounds() local 58 CollectBasicGraphicsInfo(&gpu_info); in ApplyGpuDriverBugWorkarounds() 60 ApplyGpuDriverBugWorkarounds(gpu_info, command_line); in ApplyGpuDriverBugWorkarounds() 64 const GPUInfo& gpu_info, CommandLine* command_line) { in ApplyGpuDriverBugWorkarounds() argument 69 GpuControlList::kOsAny, std::string(), gpu_info); in ApplyGpuDriverBugWorkarounds()
|
D | gpu_test_config.cc | 154 bool GPUTestBotConfig::SetGPUInfo(const GPUInfo& gpu_info) { in SetGPUInfo() argument 156 if (gpu_info.gpu.device_id == 0 || gpu_info.gpu.vendor_id == 0) in SetGPUInfo() 159 AddGPUVendor(gpu_info.gpu.vendor_id); in SetGPUInfo() 160 set_gpu_device_id(gpu_info.gpu.device_id); in SetGPUInfo() 232 bool GPUTestBotConfig::LoadCurrentConfig(const GPUInfo* gpu_info) { in LoadCurrentConfig() argument 234 if (gpu_info == NULL) { in LoadCurrentConfig() 246 rt = SetGPUInfo(*gpu_info); in LoadCurrentConfig()
|
/external/chromium_org/content/gpu/ |
D | gpu_main.cc | 71 void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info, 76 bool CollectGraphicsInfo(gpu::GPUInfo& gpu_info); 215 gpu::GPUInfo gpu_info; in GpuMain() local 218 GetGpuInfoFromCommandLine(gpu_info, command_line); in GpuMain() 232 gpu_info.sandboxed = StartSandboxLinux( in GpuMain() 233 gpu_info, watchdog_thread.get(), should_initialize_gl_context); in GpuMain() 272 if (!CollectGraphicsInfo(gpu_info)) in GpuMain() 280 gpu_info, const_cast<CommandLine*>(&command_line)); in GpuMain() 287 if (gpu_info.gpu.vendor_id == 0x10de && // NVIDIA in GpuMain() 288 gpu_info.driver_vendor == "NVIDIA" && in GpuMain() [all …]
|
/external/chromium_org/content/browser/gpu/ |
D | gpu_internals_ui.cc | 109 gpu::GPUInfo gpu_info = GpuDataManagerImpl::GetInstance()->GetGPUInfo(); in GpuInfoAsDictionaryValue() local 113 base::Int64ToString(gpu_info.initialization_time.InMilliseconds()))); in GpuInfoAsDictionaryValue() 115 "Sandboxed", new base::FundamentalValue(gpu_info.sandboxed))); in GpuInfoAsDictionaryValue() 117 "GPU0", GPUDeviceToString(gpu_info.gpu))); in GpuInfoAsDictionaryValue() 118 for (size_t i = 0; i < gpu_info.secondary_gpus.size(); ++i) { in GpuInfoAsDictionaryValue() 121 GPUDeviceToString(gpu_info.secondary_gpus[i]))); in GpuInfoAsDictionaryValue() 124 "Optimus", new base::FundamentalValue(gpu_info.optimus))); in GpuInfoAsDictionaryValue() 126 "AMD switchable", new base::FundamentalValue(gpu_info.amd_switchable))); in GpuInfoAsDictionaryValue() 127 if (gpu_info.lenovo_dcute) { in GpuInfoAsDictionaryValue() 131 if (gpu_info.display_link_version.IsValid()) { in GpuInfoAsDictionaryValue() [all …]
|
D | gpu_data_manager_impl_private_unittest.cc | 174 gpu::GPUInfo gpu_info; in TEST_F() local 175 gpu_info.gpu.vendor_id = 0x10de; in TEST_F() 176 gpu_info.gpu.device_id = 0x0640; in TEST_F() 177 manager->InitializeForTesting(blacklist_json, gpu_info); in TEST_F() 184 gpu_info.gl_vendor = "NVIDIA"; in TEST_F() 185 gpu_info.gl_renderer = "NVIDIA GeForce GT 120"; in TEST_F() 186 manager->UpdateGpuInfo(gpu_info); in TEST_F() 219 gpu::GPUInfo gpu_info; in TEST_F() local 220 gpu_info.gpu.vendor_id = 0x10de; in TEST_F() 221 gpu_info.gpu.device_id = 0x0640; in TEST_F() [all …]
|
D | gpu_data_manager_impl_private.cc | 107 void UpdateStats(const gpu::GPUInfo& gpu_info, in UpdateStats() argument 190 gpu_info.gl_reset_notification_strategy); in UpdateStats() 256 const gpu::GPUInfo& gpu_info) { in InitializeForTesting() argument 263 InitializeImpl(gpu_blacklist_json, std::string(), gpu_info); in InitializeForTesting() 468 gpu::GPUInfo gpu_info = gpu_info_; in SetGLStrings() local 470 gpu_info.gl_vendor = gl_vendor; in SetGLStrings() 471 gpu_info.gl_renderer = gl_renderer; in SetGLStrings() 472 gpu_info.gl_version = gl_version; in SetGLStrings() 474 gpu::CollectDriverInfoGL(&gpu_info); in SetGLStrings() 476 UpdateGpuInfo(gpu_info); in SetGLStrings() [all …]
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
D | test_expectations.py | 72 gpu_info = None 78 if gpu_info == None and browser.supports_system_info: 79 gpu_info = browser.GetSystemInfo().gpu 80 if self._ModifiersApply(platform, gpu_info, e): 84 def _GetGpuVendorString(self, gpu_info): argument 85 if gpu_info: 86 primary_gpu = gpu_info.devices[0] 101 def _GetGpuDeviceId(self, gpu_info): argument 102 if gpu_info: 103 primary_gpu = gpu_info.devices[0] [all …]
|
/external/chromium_org/components/metrics/gpu/ |
D | gpu_metrics_provider.cc | 70 const gpu::GPUInfo& gpu_info = in ProvideSystemProfileMetrics() local 74 gpu->set_vendor_id(gpu_info.gpu.vendor_id); in ProvideSystemProfileMetrics() 75 gpu->set_device_id(gpu_info.gpu.device_id); in ProvideSystemProfileMetrics() 76 gpu->set_driver_version(gpu_info.driver_version); in ProvideSystemProfileMetrics() 77 gpu->set_driver_date(gpu_info.driver_date); in ProvideSystemProfileMetrics() 80 gpu_performance->set_graphics_score(gpu_info.performance_stats.graphics); in ProvideSystemProfileMetrics() 81 gpu_performance->set_gaming_score(gpu_info.performance_stats.gaming); in ProvideSystemProfileMetrics() 82 gpu_performance->set_overall_score(gpu_info.performance_stats.overall); in ProvideSystemProfileMetrics() 83 gpu->set_gl_vendor(gpu_info.gl_vendor); in ProvideSystemProfileMetrics() 84 gpu->set_gl_renderer(gpu_info.gl_renderer); in ProvideSystemProfileMetrics()
|
/external/chromium_org/chrome/browser/ui/webui/ |
D | flash_ui.cc | 321 gpu::GPUInfo gpu_info = GpuDataManager::GetInstance()->GetGPUInfo(); in MaybeRespondToPage() local 329 const gpu::DxDiagNode& node = gpu_info.dx_diagnostics; in MaybeRespondToPage() 354 base::StringPrintf("0x%04x", gpu_info.gpu.vendor_id)); in MaybeRespondToPage() 357 base::StringPrintf("0x%04x", gpu_info.gpu.device_id)); in MaybeRespondToPage() 358 AddPair(list, ASCIIToUTF16("Driver vendor"), gpu_info.driver_vendor); in MaybeRespondToPage() 359 AddPair(list, ASCIIToUTF16("Driver version"), gpu_info.driver_version); in MaybeRespondToPage() 360 AddPair(list, ASCIIToUTF16("Driver date"), gpu_info.driver_date); in MaybeRespondToPage() 363 gpu_info.pixel_shader_version); in MaybeRespondToPage() 366 gpu_info.vertex_shader_version); in MaybeRespondToPage() 367 AddPair(list, ASCIIToUTF16("GL_VENDOR"), gpu_info.gl_vendor); in MaybeRespondToPage() [all …]
|
/external/chromium_org/content/browser/devtools/ |
D | devtools_system_info_handler.cc | 110 gpu::GPUInfo gpu_info = GpuDataManagerImpl::GetInstance()->GetGPUInfo(); in OnGetInfo() local 114 devices->Append(GPUDeviceToDictionary(gpu_info.gpu)); in OnGetInfo() 115 for (size_t ii = 0; ii < gpu_info.secondary_gpus.size(); ++ii) { in OnGetInfo() 116 devices->Append(GPUDeviceToDictionary(gpu_info.secondary_gpus[ii])); in OnGetInfo() 122 gpu_info.EnumerateFields(&enumerator); in OnGetInfo() 130 system_dict->SetString(kModelName, gpu_info.machine_model_name); in OnGetInfo() 131 system_dict->SetString(kModelVersion, gpu_info.machine_model_version); in OnGetInfo()
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | gpu_info_unittest.py | 7 from telemetry.core import gpu_info 32 info = gpu_info.GPUInfo.FromDict(data) 65 gpu_info.GPUInfo.FromDict(data_copy) 78 gpu_info.GPUInfo.FromDict(data)
|
/external/chromium_org/chrome/common/ |
D | chrome_content_client.cc | 442 void ChromeContentClient::SetGpuInfo(const gpu::GPUInfo& gpu_info) { in SetGpuInfo() argument 445 base::StringPrintf("0x%04x", gpu_info.gpu.vendor_id)); in SetGpuInfo() 447 base::StringPrintf("0x%04x", gpu_info.gpu.device_id)); in SetGpuInfo() 450 gpu_info.driver_version); in SetGpuInfo() 452 gpu_info.pixel_shader_version); in SetGpuInfo() 454 gpu_info.vertex_shader_version); in SetGpuInfo() 456 base::debug::SetCrashKeyValue(crash_keys::kGPUGLVersion, gpu_info.gl_version); in SetGpuInfo() 458 base::debug::SetCrashKeyValue(crash_keys::kGPUVendor, gpu_info.gl_vendor); in SetGpuInfo() 459 base::debug::SetCrashKeyValue(crash_keys::kGPURenderer, gpu_info.gl_renderer); in SetGpuInfo()
|