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

Issue 10832044: Enhance GPU blacklist so we can also blacklist GPUs other than the primary one. (Closed)

Created:
8 years, 5 months ago by Zhenyao Mo
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Enhance GPU blacklist so we can also blacklist GPUs other than the primary one. For example, on Macbook, we can blacklist Intel HD 4000 whether it is the only GPU on the machine, or it is the integrated one of a dual GPU setting. BUG=134015 TEST=unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148999

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -12 lines) Patch
M chrome/browser/gpu_blacklist.h View 4 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/gpu_blacklist.cc View 1 5 chunks +76 lines, -12 lines 0 comments Download
M chrome/browser/gpu_blacklist_unittest.cc View 1 2 1 chunk +85 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Zhenyao Mo
Please review.
8 years, 5 months ago (2012-07-27 00:45:30 UTC) #1
Ken Russell (switch to Gerrit)
https://chromiumcodereview.appspot.com/10832044/diff/1/chrome/browser/gpu_blacklist.cc File chrome/browser/gpu_blacklist.cc (right): https://chromiumcodereview.appspot.com/10832044/diff/1/chrome/browser/gpu_blacklist.cc#newcode805 chrome/browser/gpu_blacklist.cc:805: multi_gpu_category_ == kMultiGpuCategoryPrimary) This logic and that below is ...
8 years, 5 months ago (2012-07-27 01:32:52 UTC) #2
Zhenyao Mo
Revised. Hope the logic is much clearer now. Please have another look.
8 years, 4 months ago (2012-07-27 23:50:21 UTC) #3
Zhenyao Mo
Ken, please have a look when you have time.
8 years, 4 months ago (2012-07-30 18:48:55 UTC) #4
Ken Russell (switch to Gerrit)
Thanks for the update and sorry for the delay. LGTM; one request for an additional ...
8 years, 4 months ago (2012-07-30 19:13:52 UTC) #5
Zhenyao Mo
8 years, 4 months ago (2012-07-30 19:35:12 UTC) #6
http://codereview.chromium.org/10832044/diff/10001/chrome/browser/gpu_blackli...
File chrome/browser/gpu_blacklist_unittest.cc (right):

http://codereview.chromium.org/10832044/diff/10001/chrome/browser/gpu_blackli...
chrome/browser/gpu_blacklist_unittest.cc:873: TEST_F(GpuBlacklistTest,
MultipleGPUs) {
On 2012/07/30 19:13:52, kbr wrote:
> Please add one more test which verifies the multi_gpu_category of "secondary".

Done.

Powered by Google App Engine
This is Rietveld 408576698