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

Side by Side Diff: chrome/gpu/gpu_info_collector.h

Issue 6673003: Move GPU messages to content. I've also switched the IPC structs to use the ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/gpu/gpu_command_buffer_stub.cc ('k') | chrome/gpu/gpu_info_collector_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_GPU_GPU_INFO_COLLECTOR_H__ 5 #ifndef CHROME_GPU_GPU_INFO_COLLECTOR_H__
6 #define CHROME_GPU_GPU_INFO_COLLECTOR_H__ 6 #define CHROME_GPU_GPU_INFO_COLLECTOR_H__
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "chrome/common/dx_diag_node.h" 11 #include "content/common/gpu_info.h"
12 #include "chrome/common/gpu_info.h"
13 12
14 struct IDirect3D9; 13 struct IDirect3D9;
15 14
16 namespace gpu_info_collector { 15 namespace gpu_info_collector {
17 16
18 // Populate variables with necessary graphics card information. 17 // Populate variables with necessary graphics card information.
19 // Returns true on success. 18 // Returns true on success.
20 bool CollectGraphicsInfo(GPUInfo* gpu_info); 19 bool CollectGraphicsInfo(GPUInfo* gpu_info);
21 20
22 // Similar to CollectGraphicsInfo, only this collects a subset of variables 21 // Similar to CollectGraphicsInfo, only this collects a subset of variables
(...skipping 26 matching lines...) Expand all
49 48
50 // Platform specific method for collecting vendor and device ids 49 // Platform specific method for collecting vendor and device ids
51 bool CollectVideoCardInfo(GPUInfo* gpu_info); 50 bool CollectVideoCardInfo(GPUInfo* gpu_info);
52 51
53 // Each platform stores the driver version on the GL_VERSION string differently 52 // Each platform stores the driver version on the GL_VERSION string differently
54 bool CollectDriverInfoGL(GPUInfo* gpu_info); 53 bool CollectDriverInfoGL(GPUInfo* gpu_info);
55 54
56 } // namespace gpu_info_collector 55 } // namespace gpu_info_collector
57 56
58 #endif // CHROME_GPU_GPU_INFO_COLLECTOR_H__ 57 #endif // CHROME_GPU_GPU_INFO_COLLECTOR_H__
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_command_buffer_stub.cc ('k') | chrome/gpu/gpu_info_collector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698