| Index: chrome/gpu/gpu_info_win.cc
|
| ===================================================================
|
| --- chrome/gpu/gpu_info_win.cc (revision 50541)
|
| +++ chrome/gpu/gpu_info_win.cc (working copy)
|
| @@ -31,6 +31,17 @@
|
| return vertex_shader_version_;
|
| }
|
|
|
| +void GPUInfo::SetGraphicsInfo(uint32 vendor_id, uint32 device_id,
|
| + const std::wstring& driver_version,
|
| + uint32 pixel_shader_version,
|
| + uint32 vertex_shader_version) {
|
| + vendor_id_ = vendor_id;
|
| + device_id_ = device_id;
|
| + driver_version_ = driver_version;
|
| + pixel_shader_version_ = pixel_shader_version;
|
| + vertex_shader_version_ = vertex_shader_version;
|
| +}
|
| +
|
| bool GPUInfo::CollectGraphicsInfo() {
|
| FilePath d3d_path(base::GetNativeLibraryName(L"d3d9"));
|
| base::ScopedNativeLibrary d3dlib(d3d_path);
|
|
|