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

Unified Diff: gpu/config/gpu_info_collector.h

Issue 2725873007: gpu/config: Use angle::GetSystemInfo on Linux (Closed)
Patch Set: "Fix" gn check Created 3 years, 9 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 | « gpu/config/DEPS ('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 7dc8a6bb73ebace90cca251f53ffcd5e8ae3c4fb..aa873336213c02aaf91743503f44e0752d345754 100644
--- a/gpu/config/gpu_info_collector.h
+++ b/gpu/config/gpu_info_collector.h
@@ -11,6 +11,10 @@
#include "gpu/config/gpu_info.h"
#include "gpu/gpu_export.h"
+namespace angle {
+struct SystemInfo;
+}
+
namespace gpu {
// Collects basic GPU info without creating a GL/DirectX context (and without
@@ -48,6 +52,11 @@ GPU_EXPORT void MergeGPUInfoGL(GPUInfo* basic_gpu_info,
// identify the active GPU based on GL strings.
GPU_EXPORT void IdentifyActiveGPU(GPUInfo* gpu_info);
+// Helper function to convert data from ANGLE's system info gathering library
+// into a GPUInfo
+void FillGPUInfoFromSystemInfo(GPUInfo* gpu_info,
+ angle::SystemInfo* system_info);
+
} // namespace gpu
#endif // GPU_CONFIG_GPU_INFO_COLLECTOR_H_
« no previous file with comments | « gpu/config/DEPS ('k') | gpu/config/gpu_info_collector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698