/external/chromium_org/gpu/config/ |
gpu_info_unittest.cc | 5 #include "gpu/config/gpu_info.h" 12 GPUInfo gpu_info; local 13 EXPECT_EQ(gpu_info.finalized, false); 14 EXPECT_EQ(gpu_info.initialization_time.ToInternalValue(), 0); 15 EXPECT_EQ(gpu_info.gpu.vendor_id, 0u); 16 EXPECT_EQ(gpu_info.gpu.device_id, 0u); 17 EXPECT_EQ(gpu_info.secondary_gpus.size(), 0u); 18 EXPECT_EQ(gpu_info.driver_vendor, ""); 19 EXPECT_EQ(gpu_info.driver_version, ""); 20 EXPECT_EQ(gpu_info.driver_date, "") [all...] |
gpu_info_collector_ozone.cc | 16 CollectInfoResult CollectContextGraphicsInfo(GPUInfo* gpu_info) { 17 DCHECK(gpu_info); 19 CollectInfoResult result = CollectGraphicsInfoGL(gpu_info); 22 gpu_info->can_lose_context = false; 25 gpu_info->can_lose_context = false; 27 gpu_info->can_lose_context = 32 gpu_info->finalized = true; 43 CollectInfoResult CollectBasicGraphicsInfo(GPUInfo* gpu_info) { 44 gpu_info->can_lose_context = false; 48 CollectInfoResult CollectDriverInfoGL(GPUInfo* gpu_info) { [all...] |
gpu_info_collector_x11.cc | 103 bool CollectPCIVideoCardInfo(GPUInfo* gpu_info) { 104 DCHECK(gpu_info); 148 gpu_info->gpu = gpu; 153 if (gpu_info->gpu.vendor_id == kVendorIDIntel && 155 gpu_info->secondary_gpus.push_back(gpu_info->gpu); 156 gpu_info->gpu = gpu; 158 gpu_info->secondary_gpus.push_back(gpu); 164 if (gpu_info->secondary_gpus.size() == 1 && 165 gpu_info->secondary_gpus[0].vendor_id == kVendorIDIntel) 207 GPUInfo gpu_info; local [all...] |
gpu_control_list_unittest.cc | 9 #include "gpu/config/gpu_info.h" 37 const GPUInfo& gpu_info() const { function in class:gpu::GpuControlListTest 76 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); 96 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); 133 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); 141 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); 172 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); 175 GpuControlList::kOsWin, kOsVersion, gpu_info()); 178 GpuControlList::kOsLinux, kOsVersion, gpu_info()); 186 GpuControlList::kOsMacosx, kOsVersion, gpu_info()); 319 GPUInfo gpu_info; local 388 GPUInfo gpu_info; local 434 GPUInfo gpu_info; local 453 GPUInfo gpu_info; local [all...] |
gpu_control_list_entry_unittest.cc | 7 #include "gpu/config/gpu_info.h" 25 const GPUInfo& gpu_info() const { function in class:gpu::GpuControlListEntryTest 110 EXPECT_FALSE(entry->NeedsMoreInfo(gpu_info())); 112 GpuControlList::kOsMacosx, "10.6.4", gpu_info())); 137 EXPECT_TRUE(entry->Contains(os_type[i], "10.6", gpu_info())); 164 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info())); 166 GpuControlList::kOsLinux, "10.6", gpu_info())); 198 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info())); 229 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info())); 231 GpuControlList::kOsLinux, "10.6", gpu_info())); 254 GPUInfo gpu_info; local 397 GPUInfo gpu_info; local 428 GPUInfo gpu_info; local 459 GPUInfo gpu_info; local 610 GPUInfo gpu_info; local 633 GPUInfo gpu_info; local 661 GPUInfo gpu_info; local 698 GPUInfo gpu_info; local 727 GPUInfo gpu_info; local 819 GPUInfo gpu_info; local 866 GPUInfo gpu_info; local 900 GPUInfo gpu_info; local 933 GPUInfo gpu_info; local [all...] |
gpu_info_collector_mac.mm | 65 bool 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 return (gpu_info->gpu.vendor_id && gpu_info->gpu.device_id) [all...] |
gpu_info_collector_unittest.cc | 6 #include "gpu/config/gpu_info.h" 111 GPUInfo gpu_info; local 112 CollectGraphicsInfoGL(&gpu_info); 114 gpu_info.driver_vendor); 120 GPUInfo gpu_info; local 121 CollectGraphicsInfoGL(&gpu_info); 123 gpu_info.driver_version); 128 GPUInfo gpu_info; local 129 CollectGraphicsInfoGL(&gpu_info); 131 gpu_info.pixel_shader_version) 135 GPUInfo gpu_info; local 142 GPUInfo gpu_info; local 148 GPUInfo gpu_info; local 154 GPUInfo gpu_info; local 160 GPUInfo gpu_info; local [all...] |
gpu_driver_bug_list_unittest.cc | 11 #include "gpu/config/gpu_info.h" 24 const GPUInfo& gpu_info() const { function in class:gpu::GpuDriverBugListTest 61 GPUInfo gpu_info; local 62 gpu_info.gl_vendor = "ARM"; 63 gpu_info.gl_renderer = "MALi_T604"; 65 GpuControlList::kOsAndroid, "4.1", gpu_info); 73 GPUInfo gpu_info; local 74 gpu_info.gl_vendor = "Imagination Technologies"; 75 gpu_info.gl_renderer = "PowerVR SGX 540"; 77 GpuControlList::kOsAndroid, "4.1", gpu_info); 187 GPUInfo gpu_info; local [all...] |
gpu_info_collector_android.cc | 87 CollectInfoResult CollectContextGraphicsInfo(GPUInfo* gpu_info) { 88 return CollectBasicGraphicsInfo(gpu_info); 98 CollectInfoResult CollectBasicGraphicsInfo(GPUInfo* gpu_info) { 99 gpu_info->can_lose_context = false; 100 gpu_info->finalized = true; 102 gpu_info->machine_model_name = 108 return CollectGraphicsInfoGL(gpu_info); 111 CollectInfoResult CollectDriverInfoGL(GPUInfo* gpu_info) { 112 gpu_info->driver_version = GetDriverVersionFromString( 113 gpu_info->gl_version) [all...] |
gpu_test_config_unittest.cc | 5 #include "gpu/config/gpu_info.h" 32 GPUInfo gpu_info; local 33 gpu_info.gpu.vendor_id = 0x10de; 34 gpu_info.gpu.device_id = 0x0640; 36 EXPECT_TRUE(config.SetGPUInfo(gpu_info)); 38 EXPECT_EQ(gpu_info.gpu.vendor_id, config.gpu_vendor()[0]); 39 EXPECT_EQ(gpu_info.gpu.device_id, config.gpu_device_id()); 41 gpu_info.gpu.vendor_id = 0x8086; 42 gpu_info.gpu.device_id = 0x0046; 43 EXPECT_TRUE(config.SetGPUInfo(gpu_info)); 247 GPUInfo gpu_info; local [all...] |
gpu_info_collector.h | 10 #include "gpu/config/gpu_info.h" 40 GPU_EXPORT CollectInfoResult CollectBasicGraphicsInfo(GPUInfo* gpu_info); 44 GPU_EXPORT CollectInfoResult CollectContextGraphicsInfo(GPUInfo* gpu_info); 52 GPU_EXPORT CollectInfoResult CollectGraphicsInfoGL(GPUInfo* gpu_info); 55 GPU_EXPORT CollectInfoResult CollectDriverInfoGL(GPUInfo* gpu_info);
|
gpu_info_collector.cc | 83 CollectInfoResult CollectGraphicsInfoGL(GPUInfo* gpu_info) { 99 gpu_info->gl_renderer = GetGLString(GL_RENDERER); 100 gpu_info->gl_vendor = GetGLString(GL_VENDOR); 101 gpu_info->gl_extensions = GetGLString(GL_EXTENSIONS); 102 gpu_info->gl_version = GetGLString(GL_VERSION); 107 gpu_info->gl_ws_vendor = window_system_binding_info.vendor; 108 gpu_info->gl_ws_version = window_system_binding_info.version; 109 gpu_info->gl_ws_extensions = window_system_binding_info.extensions; 110 gpu_info->direct_rendering = window_system_binding_info.direct_rendering; 114 gpu_info->gl_extensions.find("GL_EXT_robustness") != std::string::npos | [all...] |
gpu_info_collector_win.cc | 211 bool D3D11ShouldWork(const GPUInfo& gpu_info) { 223 if (gpu_info.display_link_version.IsValid()) 366 void GetAMDVideocardInfo(GPUInfo* gpu_info) { 367 DCHECK(gpu_info); 373 void GetAMDVideocardInfo(GPUInfo* gpu_info); 377 GPUInfo* gpu_info) { 437 GetAMDVideocardInfo(gpu_info); 438 if (!gpu_info->amd_switchable && 439 gpu_info->gpu.vendor_id == 0x8086) { 440 gpu_info->amd_switchable = true [all...] |
gpu_util.cc | 57 GPUInfo gpu_info; local 58 CollectBasicGraphicsInfo(&gpu_info); 60 ApplyGpuDriverBugWorkarounds(gpu_info, command_line); 64 const GPUInfo& gpu_info, CommandLine* command_line) { 69 GpuControlList::kOsAny, std::string(), gpu_info);
|
BUILD.gn | 22 "gpu_info.cc", 23 "gpu_info.h",
|
gpu_control_list.cc | 15 #include "gpu/config/gpu_info.h" [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/ |
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): 85 if gpu_info: 86 primary_gpu = gpu_info.devices[0] 101 def _GetGpuDeviceId(self, gpu_info): 102 if gpu_info: 103 primary_gpu = gpu_info.devices[0 [all...] |
/external/chromium_org/content/browser/gpu/ |
gpu_internals_ui.cc | 29 #include "gpu/config/gpu_info.h" 99 gpu::GPUInfo gpu_info = GpuDataManagerImpl::GetInstance()->GetGPUInfo(); local 103 base::Int64ToString(gpu_info.initialization_time.InMilliseconds()))); 105 "Sandboxed", new base::FundamentalValue(gpu_info.sandboxed))); 107 "GPU0", GPUDeviceToString(gpu_info.gpu))); 108 for (size_t i = 0; i < gpu_info.secondary_gpus.size(); ++i) { 111 GPUDeviceToString(gpu_info.secondary_gpus[i]))); 114 "Optimus", new base::FundamentalValue(gpu_info.optimus))); 116 "AMD switchable", new base::FundamentalValue(gpu_info.amd_switchable))); 117 if (gpu_info.lenovo_dcute) [all...] |
gpu_data_manager_impl_private_unittest.cc | 13 #include "gpu/config/gpu_info.h" 173 gpu::GPUInfo gpu_info; local 174 gpu_info.gpu.vendor_id = 0x10de; 175 gpu_info.gpu.device_id = 0x0640; 176 manager->InitializeForTesting(blacklist_json, gpu_info); 183 gpu_info.gl_vendor = "NVIDIA"; 184 gpu_info.gl_renderer = "NVIDIA GeForce GT 120"; 185 manager->UpdateGpuInfo(gpu_info); 221 gpu::GPUInfo gpu_info; local 222 gpu_info.gpu.vendor_id = 0x10de 305 gpu::GPUInfo gpu_info; local 336 gpu::GPUInfo gpu_info; local 522 gpu::GPUInfo gpu_info; local 575 gpu::GPUInfo gpu_info; local 649 gpu::GPUInfo gpu_info; local 688 gpu::GPUInfo gpu_info; local [all...] |
/external/chromium_org/chrome/browser/metrics/ |
gpu_metrics_provider.cc | 9 #include "gpu/config/gpu_info.h" 69 const gpu::GPUInfo& gpu_info = local 73 gpu->set_vendor_id(gpu_info.gpu.vendor_id); 74 gpu->set_device_id(gpu_info.gpu.device_id); 75 gpu->set_driver_version(gpu_info.driver_version); 76 gpu->set_driver_date(gpu_info.driver_date); 79 gpu_performance->set_graphics_score(gpu_info.performance_stats.graphics); 80 gpu_performance->set_gaming_score(gpu_info.performance_stats.gaming); 81 gpu_performance->set_overall_score(gpu_info.performance_stats.overall); 82 gpu->set_gl_vendor(gpu_info.gl_vendor) [all...] |
/external/chromium_org/components/autofill/content/browser/ |
DEPS | 7 "+gpu/config/gpu_info.h",
|
/external/chromium_org/content/browser/devtools/ |
devtools_system_info_handler.cc | 13 #include "gpu/config/gpu_info.h" 106 gpu::GPUInfo gpu_info = GpuDataManagerImpl::GetInstance()->GetGPUInfo(); local 110 devices->Append(GPUDeviceToDictionary(gpu_info.gpu)); 111 for (size_t ii = 0; ii < gpu_info.secondary_gpus.size(); ++ii) { 112 devices->Append(GPUDeviceToDictionary(gpu_info.secondary_gpus[ii])); 118 gpu_info.EnumerateFields(&enumerator); 126 system_dict->SetString(kModelName, gpu_info.machine_model_name); 127 system_dict->SetString(kModelVersion, gpu_info.machine_model_version);
|
/external/chromium_org/content/gpu/ |
gpu_main.cc | 69 void GetGpuInfoFromCommandLine(gpu::GPUInfo& gpu_info, 74 bool CollectGraphicsInfo(gpu::GPUInfo& gpu_info); 211 gpu::GPUInfo gpu_info; local 214 GetGpuInfoFromCommandLine(gpu_info, command_line); 230 gpu_info.sandboxed = StartSandboxLinux(gpu_info, watchdog_thread.get(), 271 if (!CollectGraphicsInfo(gpu_info)) 279 gpu_info, const_cast<CommandLine*>(&command_line)); 286 if (gpu_info.gpu.vendor_id == 0x10de && // NVIDIA 287 gpu_info.driver_vendor == "NVIDIA" & [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/ |
gpu_info_unittest.py | 6 from telemetry.core import gpu_info namespace 31 info = gpu_info.GPUInfo.FromDict(data) 64 gpu_info.GPUInfo.FromDict(data_copy) 77 gpu_info.GPUInfo.FromDict(data)
|
system_info.py | 4 from telemetry.core import gpu_info namespace 13 self._gpu = gpu_info.GPUInfo.FromDict(gpu_dict)
|