Index: chrome/gpu/gpu_info_collector.h |
=================================================================== |
--- chrome/gpu/gpu_info_collector.h (revision 75345) |
+++ chrome/gpu/gpu_info_collector.h (working copy) |
@@ -19,6 +19,12 @@ |
// Returns true on success. |
bool CollectGraphicsInfo(GPUInfo* gpu_info); |
+// Similar to CollectGraphicsInfo, only this collects a subset of variables |
+// without creating a GL/DirectX context (and without the danger of crashing). |
+// The subset each platform collects may be different. |
+// This is called in browser process at startup time instead of gpu process. |
+bool CollectGraphicsInfoSafe(GPUInfo* gpu_info); |
Ken Russell (switch to Gerrit)
2011/02/18 22:21:24
CollectPartialGraphicsInfo? CollectSafeGraphicsInf
Zhenyao Mo
2011/02/18 22:41:52
Use preliminary to be consistent
|
+ |
#if defined(OS_WIN) |
// Windows provides two ways of doing graphics so we need two ways of |
// collecting info based on what's on a user's machine. |