Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2840)

Unified Diff: content/browser/gpu/gpu_data_manager_impl.cc

Issue 11576052: Revert 173248, broke building on the official chrome/win bot: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_data_manager_impl.cc
===================================================================
--- content/browser/gpu/gpu_data_manager_impl.cc (revision 173266)
+++ content/browser/gpu/gpu_data_manager_impl.cc (working copy)
@@ -132,7 +132,7 @@
return;
GPUInfo gpu_info;
- gpu_info_collector::CollectBasicGraphicsInfo(&gpu_info);
+ gpu_info_collector::CollectPreliminaryGraphicsInfo(&gpu_info);
#if defined(ARCH_CPU_X86_FAMILY)
if (!gpu_info.gpu.vendor_id || !gpu_info.gpu.device_id)
gpu_info.finalized = true;
@@ -190,11 +190,7 @@
complete_gpu_info_already_requested_ = true;
GpuProcessHost::SendOnIO(
-#if defined(OS_WIN)
GpuProcessHost::GPU_PROCESS_KIND_UNSANDBOXED,
-#else
- GpuProcessHost::GPU_PROCESS_KIND_SANDBOXED,
-#endif
CAUSE_FOR_GPU_LAUNCH_GPUDATAMANAGER_REQUESTCOMPLETEGPUINFOIFNEEDED,
new GpuMsg_CollectGraphicsInfo());
}
@@ -228,7 +224,7 @@
{
base::AutoLock auto_lock(gpu_info_lock_);
- gpu_info_collector::MergeGPUInfo(&gpu_info_, gpu_info);
+ gpu_info_ = gpu_info;
complete_gpu_info_already_requested_ =
complete_gpu_info_already_requested_ || gpu_info_.finalized;
}
@@ -474,6 +470,9 @@
command_line->AppendSwitchASCII(switches::kSupportsDualGpus, "false");
}
+ if (!gpu_blacklist_.get() || !gpu_blacklist_->needs_more_info())
+ command_line->AppendSwitch(switches::kSkipGpuFullInfoCollection);
+
if (!swiftshader_path.empty())
command_line->AppendSwitchPath(switches::kSwiftShaderPath,
swiftshader_path);
« no previous file with comments | « no previous file | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698