HomeSort by relevance Sort by last modified time
    Searched refs:gpu_info (Results 1 - 25 of 72) sorted by null

1 2 3

  /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 11 bool CollectContextGraphicsInfo(GPUInfo* gpu_info) {
12 return CollectBasicGraphicsInfo(gpu_info);
22 bool CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
23 gpu_info->can_lose_context = false;
27 bool CollectDriverInfoGL(GPUInfo* gpu_info) {
37 bool DetermineActiveGPU(GPUInfo* gpu_info) {
38 DCHECK(gpu_info);
39 if (gpu_info->secondary_gpus.size() == 0)
gpu_info_collector_x11.cc 102 bool CollectPCIVideoCardInfo(GPUInfo* gpu_info) {
103 DCHECK(gpu_info);
137 gpu_info->gpu = gpu;
142 if (gpu_info->gpu.vendor_id == kVendorIDIntel &&
144 gpu_info->secondary_gpus.push_back(gpu_info->gpu);
145 gpu_info->gpu = gpu;
147 gpu_info->secondary_gpus.push_back(gpu);
153 if (gpu_info->secondary_gpus.size() == 1 &&
154 gpu_info->secondary_gpus[0].vendor_id == kVendorIDIntel)
217 GPUInfo gpu_info; local
    [all...]
gpu_info_collector_unittest.cc 6 #include "gpu/config/gpu_info.h"
120 GPUInfo gpu_info; local
121 CollectGraphicsInfoGL(&gpu_info);
123 gpu_info.driver_vendor);
129 GPUInfo gpu_info; local
130 CollectGraphicsInfoGL(&gpu_info);
132 gpu_info.driver_version);
137 GPUInfo gpu_info; local
138 CollectGraphicsInfoGL(&gpu_info);
140 gpu_info.pixel_shader_version)
144 GPUInfo gpu_info; local
151 GPUInfo gpu_info; local
158 GPUInfo gpu_info; local
165 GPUInfo gpu_info; local
172 GPUInfo gpu_info; local
179 GPUInfo gpu_info; local
201 GPUInfo gpu_info; local
208 GPUInfo gpu_info; local
221 GPUInfo gpu_info; local
234 GPUInfo gpu_info; local
242 GPUInfo gpu_info; local
    [all...]
gpu_info_collector.h 10 #include "gpu/config/gpu_info.h"
28 GPU_EXPORT bool CollectBasicGraphicsInfo(GPUInfo* gpu_info);
33 GPU_EXPORT bool CollectContextGraphicsInfo(GPUInfo* gpu_info);
41 GPU_EXPORT bool CollectGraphicsInfoGL(GPUInfo* gpu_info);
44 GPU_EXPORT bool CollectDriverInfoGL(GPUInfo* gpu_info);
58 // |gpu_info| is expected to be the merged GPUInfo after full info collection.
59 // Upon return, |gpu_info->gpu| will contain the active GPU, assuming the
61 GPU_EXPORT bool DetermineActiveGPU(GPUInfo* gpu_info);
gpu_info_collector_android.cc 91 bool CollectContextGraphicsInfo(GPUInfo* gpu_info) {
92 return CollectBasicGraphicsInfo(gpu_info);
102 bool CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
103 gpu_info->can_lose_context = false;
104 gpu_info->finalized = true;
106 gpu_info->machine_model = base::android::BuildInfo::GetInstance()->model();
111 return CollectGraphicsInfoGL(gpu_info);
114 bool CollectDriverInfoGL(GPUInfo* gpu_info) {
115 gpu_info->driver_version = GetDriverVersionFromString(
116 gpu_info->gl_version_string)
    [all...]
gpu_info_collector.cc 83 bool CollectGraphicsInfoGL(GPUInfo* gpu_info) {
98 gpu_info->gl_renderer = GetGLString(GL_RENDERER);
99 gpu_info->gl_vendor = GetGLString(GL_VENDOR);
100 gpu_info->gl_extensions = GetGLString(GL_EXTENSIONS);
101 gpu_info->gl_version_string = GetGLString(GL_VERSION);
106 gpu_info->gl_ws_vendor = window_system_binding_info.vendor;
107 gpu_info->gl_ws_version = window_system_binding_info.version;
108 gpu_info->gl_ws_extensions = window_system_binding_info.extensions;
112 gpu_info->gl_extensions.find("GL_EXT_robustness") != std::string::npos ||
113 gpu_info->gl_extensions.find("GL_ARB_robustness") != std::string::npos
    [all...]
gpu_driver_bug_list_unittest.cc 10 #include "gpu/config/gpu_info.h"
23 const GPUInfo& gpu_info() const { function in class:gpu::GpuDriverBugListTest
59 GPUInfo gpu_info; local
60 gpu_info.gl_vendor = "ARM";
61 gpu_info.gl_renderer = "MALi_T604";
63 GpuControlList::kOsAndroid, "4.1", gpu_info);
71 GPUInfo gpu_info; local
72 gpu_info.gl_vendor = "Imagination Technologies";
73 gpu_info.gl_renderer = "PowerVR SGX 540";
75 GpuControlList::kOsAndroid, "4.1", gpu_info);
    [all...]
gpu_info_collector_win.cc 210 bool D3D11ShouldWork(const GPUInfo& gpu_info) {
221 if (gpu_info.display_link_version.IsValid())
373 GPUInfo* gpu_info) {
434 gpu_info->amd_switchable = (gpu_info->gpu.vendor_id == 0x8086) ||
439 gpu_info->driver_vendor = driver_vendor;
440 gpu_info->driver_version = driver_version;
441 gpu_info->driver_date = driver_date;
452 bool CollectContextGraphicsInfo(GPUInfo* gpu_info) {
455 DCHECK(gpu_info);
    [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
109 EXPECT_FALSE(entry->NeedsMoreInfo(gpu_info()));
111 GpuControlList::kOsMacosx, "10.6.4", gpu_info()));
136 EXPECT_TRUE(entry->Contains(os_type[i], "10.6", gpu_info()));
163 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info()));
165 GpuControlList::kOsLinux, "10.6", gpu_info()));
197 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info()));
228 EXPECT_FALSE(entry->Contains(os_type[i], "10.6", gpu_info()));
230 GpuControlList::kOsLinux, "10.6", gpu_info()));
253 GPUInfo gpu_info; local
516 GPUInfo gpu_info; local
539 GPUInfo gpu_info; local
567 GPUInfo gpu_info; local
606 GPUInfo gpu_info; local
639 GPUInfo gpu_info; local
670 GPUInfo gpu_info; local
699 GPUInfo gpu_info; local
    [all...]
gpu_control_list_unittest.cc 9 #include "gpu/config/gpu_info.h"
36 const GPUInfo& gpu_info() const { function in class:gpu::GpuControlListTest
74 GpuControlList::kOsMacosx, kOsVersion, gpu_info());
94 GpuControlList::kOsMacosx, kOsVersion, gpu_info());
131 GpuControlList::kOsMacosx, kOsVersion, gpu_info());
139 GpuControlList::kOsMacosx, kOsVersion, gpu_info());
170 GpuControlList::kOsMacosx, kOsVersion, gpu_info());
173 GpuControlList::kOsWin, kOsVersion, gpu_info());
176 GpuControlList::kOsLinux, kOsVersion, gpu_info());
184 GpuControlList::kOsMacosx, kOsVersion, gpu_info());
317 GPUInfo gpu_info; local
386 GPUInfo gpu_info; local
432 GPUInfo gpu_info; local
    [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);
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...]
  /external/chromium/chrome/common/
chrome_content_client.h 18 virtual void SetGpuInfo(const GPUInfo& gpu_info);
child_process_logging_linux.cc 11 #include "content/common/gpu/gpu_info.h"
60 void SetGpuInfo(const GPUInfo& gpu_info) {
61 snprintf(g_gpu_vendor_id, kGpuStringSize, "0x%04x", gpu_info.vendor_id);
62 snprintf(g_gpu_device_id, kGpuStringSize, "0x%04x", gpu_info.device_id);
64 gpu_info.driver_version.c_str(),
68 gpu_info.pixel_shader_version.c_str(),
72 gpu_info.vertex_shader_version.c_str(),
child_process_logging_win.cc 15 #include "content/common/gpu/gpu_info.h"
129 void SetGpuInfo(const GPUInfo& gpu_info) {
141 base::StringPrintf(L"0x%04x", gpu_info.vendor_id).c_str(),
142 base::StringPrintf(L"0x%04x", gpu_info.device_id).c_str(),
143 UTF8ToUTF16(gpu_info.driver_version).c_str(),
144 UTF8ToUTF16(gpu_info.pixel_shader_version).c_str(),
145 UTF8ToUTF16(gpu_info.vertex_shader_version).c_str());
  /external/chromium_org/content/gpu/
gpu_main.cc 181 gpu::GPUInfo gpu_info; local
189 &gpu_info.gpu.vendor_id);
193 &gpu_info.gpu.device_id);
195 gpu_info.driver_vendor =
197 gpu_info.driver_version =
199 GetContentClient()->SetGpuInfo(gpu_info);
213 gpu_info.sandboxed = StartSandboxLinux(gpu_info, watchdog_thread.get(),
234 if (!gpu::CollectContextGraphicsInfo(&gpu_info))
236 GetContentClient()->SetGpuInfo(gpu_info);
    [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/tools/telemetry/telemetry/core/
system_info.py 4 from telemetry.core import gpu_info namespace
13 self._gpu = gpu_info.GPUInfo.FromDict(gpu_dict)
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)
  /external/chromium_org/content/browser/gpu/
gpu_internals_ui.cc 29 #include "gpu/config/gpu_info.h"
95 gpu::GPUInfo gpu_info = GpuDataManagerImpl::GetInstance()->GetGPUInfo(); local
99 base::Int64ToString(gpu_info.initialization_time.InMilliseconds())));
101 "Sandboxed", new base::FundamentalValue(gpu_info.sandboxed)));
103 "GPU0", GPUDeviceToString(gpu_info.gpu)));
104 for (size_t i = 0; i < gpu_info.secondary_gpus.size(); ++i) {
107 GPUDeviceToString(gpu_info.secondary_gpus[i])));
110 "Optimus", new base::FundamentalValue(gpu_info.optimus)));
112 "AMD switchable", new base::FundamentalValue(gpu_info.amd_switchable)));
113 if (gpu_info.lenovo_dcute)
    [all...]
gpu_data_manager_impl_private_unittest.cc 12 #include "content/public/common/gpu_info.h"
168 GPUInfo gpu_info; local
169 gpu_info.gpu.vendor_id = 0x10de;
170 gpu_info.gpu.device_id = 0x0640;
171 manager->InitializeForTesting(blacklist_json, gpu_info);
178 gpu_info.gl_vendor = "NVIDIA";
179 gpu_info.gl_renderer = "NVIDIA GeForce GT 120";
180 manager->UpdateGpuInfo(gpu_info);
216 GPUInfo gpu_info; local
217 gpu_info.gpu.vendor_id = 0x10de
300 GPUInfo gpu_info; local
331 GPUInfo gpu_info; local
517 GPUInfo gpu_info; local
570 GPUInfo gpu_info; local
644 GPUInfo gpu_info; local
    [all...]
  /external/chromium_org/content/browser/devtools/
devtools_system_info_handler.cc 13 #include "gpu/config/gpu_info.h"
104 gpu::GPUInfo gpu_info = GpuDataManagerImpl::GetInstance()->GetGPUInfo(); local
108 devices->Append(GPUDeviceToDictionary(gpu_info.gpu));
109 for (size_t ii = 0; ii < gpu_info.secondary_gpus.size(); ++ii) {
110 devices->Append(GPUDeviceToDictionary(gpu_info.secondary_gpus[ii]));
116 gpu_info.EnumerateFields(&enumerator);
122 system_dict->SetString(kModelName, gpu_info.machine_model);
  /external/chromium/chrome/browser/
gpu_data_manager.h 17 #include "content/common/gpu/gpu_info.h"
32 void UpdateGpuInfo(const GPUInfo& gpu_info);
34 const GPUInfo& gpu_info() const;
  /external/chromium_org/chrome/browser/ui/webui/
flash_ui.cc 38 #include "gpu/config/gpu_info.h"
321 gpu::GPUInfo gpu_info = GpuDataManager::GetInstance()->GetGPUInfo(); local
329 const gpu::DxDiagNode& node = gpu_info.dx_diagnostics;
354 base::StringPrintf("0x%04x", gpu_info.gpu.vendor_id));
357 base::StringPrintf("0x%04x", gpu_info.gpu.device_id));
358 AddPair(list, ASCIIToUTF16("Driver vendor"), gpu_info.driver_vendor);
359 AddPair(list, ASCIIToUTF16("Driver version"), gpu_info.driver_version);
360 AddPair(list, ASCIIToUTF16("Driver date"), gpu_info.driver_date);
363 gpu_info.pixel_shader_version);
366 gpu_info.vertex_shader_version)
    [all...]

Completed in 198 milliseconds

1 2 3