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

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

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: To fix win bot failure, call IdentifyActiveGPU when receiving GpuInfi back from the GPU process thr… Created 4 years, 8 months 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/common/gpu/gpu_channel.h » ('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_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index fd3b22531ee873eb498a649c44f6153b58cf9eca..00b9387e3b082dad6e856246a183ea5136f7c5a9 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -642,6 +642,13 @@ void GpuDataManagerImplPrivate::UpdateGpuInfo(const gpu::GPUInfo& gpu_info) {
complete_gpu_info_already_requested_ = false;
}
+#if !defined(OS_MACOSX)
+ // TODO(j.isorce): Currenly the GPU process does not know about any secondary
+ // gpu. So for now it requires to do the identification here because gpu_info_
+ // contains both secondary_gpus and gl_vendor/gl_renderer information.
+ gpu::IdentifyActiveGPU(&gpu_info_);
+#endif
+
UpdateGpuInfoHelper();
}
« no previous file with comments | « no previous file | content/common/gpu/gpu_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698