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

Unified Diff: chrome/gpu/gpu_info_collector.h

Issue 6531023: Collect as much GPU information as possible without creating a GL/D3D context... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: move safe info collection into gpu process Created 9 years, 10 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
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.

Powered by Google App Engine
This is Rietveld 408576698