| 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_
|
|
|