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

Unified Diff: chrome/gpu/gpu_info_collector.h

Issue 6346007: Refactor and improve gpu_info_collector: collect information on linux;... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 71329)
+++ chrome/gpu/gpu_info_collector.h (working copy)
@@ -27,13 +27,22 @@
// A D3D argument is passed in for testing purposes
bool CollectGraphicsInfoD3D(IDirect3D9* d3d, GPUInfo* gpu_info);
-// The GL version of collecting information
-bool CollectGraphicsInfoGL(GPUInfo* gpu_info);
-
// Collect the DirectX Disagnostics information about the attached displays.
bool GetDxDiagnostics(DxDiagNode* output);
#endif
+// All platforms have a GL version for collecting information
+bool CollectGraphicsInfoGL(GPUInfo* gpu_info);
+
+// Collect GL and Shading language version information
+bool CollectGLVersionInfo(GPUInfo* gpu_info);
+
+// Platform specific method for collecting vendor and device ids
+bool CollectVideoCardInfo(GPUInfo* gpu_info);
+
+// Each platform stores the driver version on the GL_VERSION string differently
+bool CollectDriverInfo(GPUInfo* gpu_info);
+
} // namespace gpu_info_collector
#endif // CHROME_GPU_GPU_INFO_COLLECTOR_H__

Powered by Google App Engine
This is Rietveld 408576698