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

Issue 2729103004: gpu/config: remove CollectGpuID (Closed)

Created:
3 years, 9 months ago by Corentin Wallez
Modified:
3 years, 7 months ago
Reviewers:
Zhenyao Mo, ccameron
CC:
chromium-reviews, darin-cc_chromium.org, jam, mac-reviews_chromium.org, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu/config: remove CollectGpuID Use CollectBasicGraphicsInfo instead, which is a superset. The additional gathering done in CollectBasicGraphicsInfo is ok as it CollectGpuID was only called in tests, and on the infrequent display reconfigure on Mac (and collecting info is fast on Mac). BUG=angleproject:1874 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2729103004 Cr-Commit-Position: refs/heads/master@{#454644} Committed: https://chromium.googlesource.com/chromium/src/+/d41fc4a8509076f5c675162d010c493df0a40bde

Patch Set 1 #

Patch Set 2 : Fix compilation on Mac #

Patch Set 3 : Fix Mac warning #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -66 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 1 chunk +4 lines, -3 lines 1 comment Download
M gpu/config/gpu_info_collector.h View 1 chunk +0 lines, -4 lines 0 comments Download
M gpu/config/gpu_info_collector_android.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M gpu/config/gpu_info_collector_linux.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M gpu/config/gpu_info_collector_mac.mm View 1 chunk +0 lines, -12 lines 0 comments Download
M gpu/config/gpu_info_collector_win.cc View 1 chunk +0 lines, -24 lines 0 comments Download
M gpu/config/gpu_test_config.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 28 (20 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2729103004/40001
3 years, 9 months ago (2017-03-03 18:06:26 UTC) #15
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
3 years, 9 months ago (2017-03-03 18:06:28 UTC) #17
Corentin Wallez
PTAL, this will avoid the need to implement a special function to only get info ...
3 years, 9 months ago (2017-03-03 18:06:29 UTC) #19
Zhenyao Mo
lgtm Thanks for cleaning this up
3 years, 9 months ago (2017-03-03 18:47:33 UTC) #20
Corentin Wallez
Thanks for the review
3 years, 9 months ago (2017-03-03 19:12:00 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2729103004/40001
3 years, 9 months ago (2017-03-03 19:12:27 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/d41fc4a8509076f5c675162d010c493df0a40bde
3 years, 9 months ago (2017-03-03 19:17:40 UTC) #26
ccameron
3 years, 7 months ago (2017-05-12 23:46:10 UTC) #28
Message was sent while issue was closed.
https://codereview.chromium.org/2729103004/diff/40001/content/browser/gpu/gpu...
File content/browser/gpu/gpu_data_manager_impl_private.cc (right):

https://codereview.chromium.org/2729103004/diff/40001/content/browser/gpu/gpu...
content/browser/gpu/gpu_data_manager_impl_private.cc:247:
gpu_info.gpu.device_id);
For dual-GPU macs, gpu_info.gpu always refers to the dGPU.

I think that this was supposed to be the active GPU.

Powered by Google App Engine
This is Rietveld 408576698