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

Unified Diff: gpu/config/gpu_info_collector.h

Issue 1503223005: Identify the active GPU using GL strings in multiple GPU situation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « gpu/config/gpu_control_list_format.txt ('k') | gpu/config/gpu_info_collector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_info_collector.h
diff --git a/gpu/config/gpu_info_collector.h b/gpu/config/gpu_info_collector.h
index ad3ae95385309fd84ec9d5f93ffc979629acec11..0fda54b8ca33579b35d59ccab0be8aada3a83fec 100644
--- a/gpu/config/gpu_info_collector.h
+++ b/gpu/config/gpu_info_collector.h
@@ -46,6 +46,10 @@ GPU_EXPORT void MergeGPUInfo(GPUInfo* basic_gpu_info,
GPU_EXPORT void MergeGPUInfoGL(GPUInfo* basic_gpu_info,
const GPUInfo& context_gpu_info);
+// If more than one GPUs are identified, and GL strings are available,
+// identify the active GPU based on GL strings.
+GPU_EXPORT void IdentifyActiveGPU(GPUInfo* gpu_info);
+
} // namespace gpu
#endif // GPU_CONFIG_GPU_INFO_COLLECTOR_H_
« no previous file with comments | « gpu/config/gpu_control_list_format.txt ('k') | gpu/config/gpu_info_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698