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

Unified Diff: chrome/browser/dom_ui/gpu_internals_ui.cc

Issue 6289011: Add more fields into about:gpu page.... (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/gpu_internals_ui.cc
===================================================================
--- chrome/browser/dom_ui/gpu_internals_ui.cc (revision 72055)
+++ chrome/browser/dom_ui/gpu_internals_ui.cc (working copy)
@@ -279,6 +279,8 @@
base::StringPrintf("0x%04x", gpu_info.vendor_id())));
basic_info->Append(NewDescriptionValuePair("Device Id",
base::StringPrintf("0x%04x", gpu_info.device_id())));
+ basic_info->Append(NewDescriptionValuePair("Driver vendor",
+ gpu_info.driver_vendor()));
basic_info->Append(NewDescriptionValuePair("Driver version",
gpu_info.driver_version()));
basic_info->Append(NewDescriptionValuePair("Pixel shader version",
@@ -287,6 +289,12 @@
VersionNumberToString(gpu_info.vertex_shader_version())));
basic_info->Append(NewDescriptionValuePair("GL version",
VersionNumberToString(gpu_info.gl_version())));
+ basic_info->Append(NewDescriptionValuePair("GL_VENDOR",
+ gpu_info.gl_vendor()));
+ basic_info->Append(NewDescriptionValuePair("GL_RENDERER",
+ gpu_info.gl_renderer()));
+ basic_info->Append(NewDescriptionValuePair("GL_VERSION",
+ gpu_info.gl_version_string()));
DictionaryValue* info = new DictionaryValue();
info->Set("basic_info", basic_info);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698