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

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
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..e55e54bd63502c56aee6e9eb7e3fb06f73030b90 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, GL strings are available,
Ken Russell (switch to Gerrit) 2015/12/08 22:58:48 "identified, GL" -> "identified, and GL"
Zhenyao Mo 2015/12/09 18:36:53 Done.
+// identify the active GPU based on GL strings.
+GPU_EXPORT void IdentifyActiveGPU(GPUInfo* gpu_info);
+
} // namespace gpu
#endif // GPU_CONFIG_GPU_INFO_COLLECTOR_H_

Powered by Google App Engine
This is Rietveld 408576698