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

Issue 6346007: Refactor and improve gpu_info_collector: collect information on linux;... (Closed)

Created:
9 years, 11 months ago by Zhenyao Mo
Modified:
9 years, 11 months ago
CC:
chromium-reviews, pam+watch_chromium.org, apatrick_chromium, Paweł Hajdan Jr.
Visibility:
Public.

Description

Refactor and improve gpu_info_collector: collect information on linux; collect extra information (driver_vendor, gl_renderer, etc.) on Mac/linux. Note that this CL takes some code from rlp's long outstandingCL (with her permission). BUG=49579 TEST=unittest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72055

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 16

Patch Set 5 : For the records. #

Patch Set 6 : info collector test incorporated #

Patch Set 7 : This should turn three trybots green #

Unified diffs Side-by-side diffs Delta from patch set Stats (+620 lines, -304 lines) Patch
M chrome/browser/dom_ui/gpu_internals_ui.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gpu_blacklist.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/gpu_blacklist_unittest.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/chrome.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/child_process_logging_mac.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/child_process_logging_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/gpu_info.h View 1 2 3 4 4 chunks +46 lines, -16 lines 0 comments Download
M chrome/common/gpu_info.cc View 3 chunks +52 lines, -12 lines 0 comments Download
M chrome/common/gpu_info_unittest.cc View 1 chunk +9 lines, -1 line 0 comments Download
M chrome/common/gpu_messages.cc View 1 4 chunks +28 lines, -9 lines 0 comments Download
M chrome/common/gpu_messages_unittest.cc View 1 2 chunks +15 lines, -7 lines 0 comments Download
M chrome/gpu/gpu_info_collector.h View 1 chunk +12 lines, -3 lines 0 comments Download
A chrome/gpu/gpu_info_collector.cc View 1 2 3 4 5 1 chunk +119 lines, -0 lines 0 comments Download
M chrome/gpu/gpu_info_collector_linux.cc View 1 2 3 4 5 5 chunks +47 lines, -64 lines 0 comments Download
M chrome/gpu/gpu_info_collector_mac.mm View 1 2 chunks +40 lines, -120 lines 0 comments Download
A chrome/gpu/gpu_info_collector_unittest.cc View 1 2 3 4 5 6 1 chunk +155 lines, -0 lines 0 comments Download
M chrome/gpu/gpu_info_collector_win.cc View 1 2 3 4 5 6 chunks +64 lines, -57 lines 0 comments Download
M chrome/gpu/gpu_info_unittest_win.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 3 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Zhenyao Mo
Please review.
9 years, 11 months ago (2011-01-19 18:50:34 UTC) #1
Ken Russell (switch to Gerrit)
LGTM. A few nits. Also you have a build failure on the try bots. http://codereview.chromium.org/6346007/diff/42001/chrome/browser/dom_ui/gpu_internals_ui.cc ...
9 years, 11 months ago (2011-01-19 22:11:43 UTC) #2
Zhenyao Mo
The windows bot failure is due to gcl failed to pick up one particular file ...
9 years, 11 months ago (2011-01-19 23:36:22 UTC) #3
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/6346007/diff/42001/chrome/gpu/gpu_info_collector_win.cc File chrome/gpu/gpu_info_collector_win.cc (right): http://codereview.chromium.org/6346007/diff/42001/chrome/gpu/gpu_info_collector_win.cc#newcode36 chrome/gpu/gpu_info_collector_win.cc:36: IDirect3DDevice9* device = display->getDevice(); Running on EGL+GLES2 on Windows ...
9 years, 11 months ago (2011-01-19 23:46:50 UTC) #4
Zhenyao Mo
On 2011/01/19 23:46:50, kbr wrote: > http://codereview.chromium.org/6346007/diff/42001/chrome/gpu/gpu_info_collector_win.cc > File chrome/gpu/gpu_info_collector_win.cc (right): > > http://codereview.chromium.org/6346007/diff/42001/chrome/gpu/gpu_info_collector_win.cc#newcode36 > ...
9 years, 11 months ago (2011-01-20 00:12:19 UTC) #5
rpetterson
Overall, most the gpu_info and collector classes look okay. I'd really like to see some ...
9 years, 11 months ago (2011-01-20 00:48:03 UTC) #6
Zhenyao Mo
On 2011/01/20 00:48:03, rpetterson wrote: > Overall, most the gpu_info and collector classes look okay. ...
9 years, 11 months ago (2011-01-20 01:02:52 UTC) #7
Zhenyao Mo
Ah, forget about my comments on the test being dangerous. I see that you mock ...
9 years, 11 months ago (2011-01-20 17:02:26 UTC) #8
rpetterson
9 years, 11 months ago (2011-01-20 23:58:25 UTC) #9
LGTM

Thanks for getting those tests in there.

Powered by Google App Engine
This is Rietveld 408576698