diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 19:54:44 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-11 19:54:44 +0000 |
commit | 206c5b0f60cb328a34e964c4e5aaf788e2b084f4 (patch) | |
tree | ff9ba7a970e177aabbc4f93f23cd523fccff9ff2 /chrome/browser/browser_about_handler.cc | |
parent | ab80bac7428906fccfafbc4d620538ded23a2a83 (diff) | |
download | chromium_src-206c5b0f60cb328a34e964c4e5aaf788e2b084f4.zip chromium_src-206c5b0f60cb328a34e964c4e5aaf788e2b084f4.tar.gz chromium_src-206c5b0f60cb328a34e964c4e5aaf788e2b084f4.tar.bz2 |
In about:gpu, list only 2 levels of the tree.
This is where the interesting is. The rest is something about video deinterlacing. It also speeds it up a bit.
Also formatted vendor and device IDs as hex since that is how they are usually presented.
TEST=try
BUG=none
Review URL: http://codereview.chromium.org/3652001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r-- | chrome/browser/browser_about_handler.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc index acd23a3..885acae 100644 --- a/chrome/browser/browser_about_handler.cc +++ b/chrome/browser/browser_about_handler.cc @@ -17,6 +17,7 @@ #include "base/path_service.h" #include "base/platform_thread.h" #include "base/stats_table.h" +#include "base/stringprintf.h" #include "base/string_number_conversions.h" #include "base/string_piece.h" #include "base/string_util.h" @@ -856,9 +857,9 @@ std::string AboutGpu() { html.append("<html><head><title>About GPU</title></head><body>\n"); html.append("<h2>GPU Information</h2><ul>\n"); html.append("<li><strong>Vendor ID:</strong> "); - html.append(base::IntToString(gpu_info.vendor_id())); + html.append(base::StringPrintf("0x%04x", gpu_info.vendor_id())); html.append("<li><strong>Device ID:</strong> "); - html.append(base::IntToString(gpu_info.device_id())); + html.append(base::StringPrintf("0x%04x", gpu_info.device_id())); html.append("<li><strong>Driver Version:</strong> "); html.append(WideToASCII(gpu_info.driver_version()).c_str()); html.append("<li><strong>Pixel Shader Version:</strong> "); |