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

Unified Diff: chrome/gpu/gpu_info_win.cc

Issue 2860016: Adding a mutator method for the private variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
« no previous file with comments | « chrome/gpu/gpu_info.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « chrome/gpu/gpu_info.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698