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

Issue 10915219: Add capability for GPU blacklist to manage GPU switching. (Closed)

Created:
8 years, 3 months ago by Zhenyao Mo
Modified:
8 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, arv (Not doing code reviews), apatrick_chromium, jbauman
Visibility:
Public.

Description

Add capability for GPU blacklist to manage GPU switching. This is orthorgonal to the blacklist feature management. Doing this, we don't have to hardwire the forcing on discrete GPU for the new Macbook 2012; also, we provide a way for users to bypass the forcing (use --ignore-gpu-blacklist). Note that this CL implements it in the GPU blacklist. We haven't hooked it up to the real GPU switching yet (will do it in another CL). BUG=140114, 131276, 111720 TEST=tree Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=156326

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -173 lines) Patch
M chrome/browser/resources/gpu_internals/info_view.js View 1 3 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/gpu_internals_ui.cc View 1 1 chunk +20 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_blacklist.h View 1 6 chunks +24 lines, -17 lines 0 comments Download
M content/browser/gpu/gpu_blacklist.cc View 1 7 chunks +53 lines, -26 lines 0 comments Download
M content/browser/gpu/gpu_blacklist_unittest.cc View 1 28 chunks +218 lines, -109 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 4 chunks +15 lines, -5 lines 0 comments Download
M content/browser/gpu/gpu_util.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_util.cc View 1 6 chunks +27 lines, -12 lines 0 comments Download
M content/browser/gpu/gpu_util_unittest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M content/public/browser/gpu_data_manager.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/gpu_feature_type.h View 1 1 chunk +7 lines, -0 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
Zhenyao Mo
kbr: can you review this? jbauman: FYI
8 years, 3 months ago (2012-09-12 00:18:53 UTC) #1
Ken Russell (switch to Gerrit)
LGTM. Thanks for doing this. http://codereview.chromium.org/10915219/diff/1/content/browser/gpu/gpu_blacklist.h File content/browser/gpu/gpu_blacklist.h (right): http://codereview.chromium.org/10915219/diff/1/content/browser/gpu/gpu_blacklist.h#newcode68 content/browser/gpu/gpu_blacklist.h:68: Decision MakeBlacklistDecision( Thank you ...
8 years, 3 months ago (2012-09-12 01:59:03 UTC) #2
Zhenyao Mo
https://chromiumcodereview.appspot.com/10915219/diff/1/content/browser/gpu/gpu_blacklist.h File content/browser/gpu/gpu_blacklist.h (right): https://chromiumcodereview.appspot.com/10915219/diff/1/content/browser/gpu/gpu_blacklist.h#newcode397 content/browser/gpu/gpu_blacklist.h:397: // called and is used later by GetDecisionEntries() and ...
8 years, 3 months ago (2012-09-12 17:41:33 UTC) #3
jam
http://codereview.chromium.org/10915219/diff/16/content/public/common/gpu_feature_type.h File content/public/common/gpu_feature_type.h (right): http://codereview.chromium.org/10915219/diff/16/content/public/common/gpu_feature_type.h#newcode34 content/public/common/gpu_feature_type.h:34: enum GpuSwitchingOption { nit: this needs to be in ...
8 years, 3 months ago (2012-09-12 19:36:19 UTC) #4
Zhenyao Mo
On 2012/09/12 19:36:19, John Abd-El-Malek wrote: > http://codereview.chromium.org/10915219/diff/16/content/public/common/gpu_feature_type.h > File content/public/common/gpu_feature_type.h (right): > > http://codereview.chromium.org/10915219/diff/16/content/public/common/gpu_feature_type.h#newcode34 ...
8 years, 3 months ago (2012-09-12 20:56:29 UTC) #5
jam
8 years, 3 months ago (2012-09-13 01:25:47 UTC) #6
On 2012/09/12 20:56:29, Zhenyao Mo wrote:
> On 2012/09/12 19:36:19, John Abd-El-Malek wrote:
> >
>
http://codereview.chromium.org/10915219/diff/16/content/public/common/gpu_fea...
> > File content/public/common/gpu_feature_type.h (right):
> > 
> >
>
http://codereview.chromium.org/10915219/diff/16/content/public/common/gpu_fea...
> > content/public/common/gpu_feature_type.h:34: enum GpuSwitchingOption {
> > nit: this needs to be in a separate file, also the naming has to be
> > GPU_SWITCHING_OPTION_AUTOMATIC, GPU_SWITCHING_OPTION_FORCE_INTEGRATED etc
> 
> Thanks.  Will make the changes in a followup CL as I already committed this
one.

this shouldn't have been committed in the first place. why did you override
owners check by forcing the commit? i see a bunch of other checkins from you to
content/public with no owner review

Powered by Google App Engine
This is Rietveld 408576698