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

Issue 10909221: Implement blacklist's force GPU capability in dual GPU machines. (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, apatrick_chromium, jbauman
Visibility:
Public.

Description

Implement blacklist's force GPU capability in dual GPU machines. This is part 2. In part one we implement the semantics in blacklist. Now we hook it up with the "real" forcing code. For now we only hook it up with Mac CGL port. BUG=140114, 131276, 111720 TEST=tree Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=158076

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -57 lines) Patch
M chrome/browser/ui/webui/gpu_internals_ui.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/gpu/gpu_blacklist.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_blacklist.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/gpu/gpu_blacklist_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 2 3 4 5 4 chunks +23 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/gpu_util.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_util.cc View 1 2 3 4 5 3 chunks +21 lines, -12 lines 0 comments Download
M content/browser/gpu/gpu_util_unittest.cc View 1 2 3 4 5 2 chunks +27 lines, -7 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/gpu/gpu_main.cc View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
M content/public/browser/gpu_data_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/gpu_feature_type.h View 1 chunk +0 lines, -7 lines 0 comments Download
A content/public/common/gpu_switching_option.h View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
M ui/gl/gl.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/gl_context_cgl.h View 1 chunk +0 lines, -7 lines 0 comments Download
M ui/gl/gl_context_cgl.cc View 1 3 chunks +4 lines, -11 lines 0 comments Download
M ui/gl/gl_context_mac.mm View 1 2 chunks +2 lines, -1 line 0 comments Download
M ui/gl/gl_switches.h View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M ui/gl/gl_switches.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 1 comment Download
A ui/gl/gpu_switching_manager.h View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A ui/gl/gpu_switching_manager.cc View 1 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Zhenyao Mo
kbr: please review.
8 years, 3 months ago (2012-09-13 23:29:10 UTC) #1
Zhenyao Mo
csilv: webui owner piman: content owner
8 years, 3 months ago (2012-09-13 23:33:26 UTC) #2
csilv
/webui/ lgtm
8 years, 3 months ago (2012-09-13 23:37:14 UTC) #3
piman
LGTM for content, but adding jam for content/public (new files etc.)
8 years, 3 months ago (2012-09-13 23:51:43 UTC) #4
piman
+jam for content/public, for real this time
8 years, 3 months ago (2012-09-14 00:21:48 UTC) #5
piman
3rd time?
8 years, 3 months ago (2012-09-14 00:22:17 UTC) #6
Ken Russell (switch to Gerrit)
This is pleasingly simple. LGTM if this has been tested on dual-GPU MacBook Pros and ...
8 years, 3 months ago (2012-09-15 00:48:04 UTC) #7
jam
http://codereview.chromium.org/10909221/diff/11014/content/public/common/gpu_switching_option.h File content/public/common/gpu_switching_option.h (right): http://codereview.chromium.org/10909221/diff/11014/content/public/common/gpu_switching_option.h#newcode22 content/public/common/gpu_switching_option.h:22: CONTENT_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[]; why are these here? ...
8 years, 3 months ago (2012-09-17 17:08:55 UTC) #8
Zhenyao Mo
http://codereview.chromium.org/10909221/diff/11014/content/public/common/gpu_switching_option.h File content/public/common/gpu_switching_option.h (right): http://codereview.chromium.org/10909221/diff/11014/content/public/common/gpu_switching_option.h#newcode22 content/public/common/gpu_switching_option.h:22: CONTENT_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[]; On 2012/09/17 17:08:55, John ...
8 years, 3 months ago (2012-09-17 17:13:42 UTC) #9
jam
http://codereview.chromium.org/10909221/diff/11014/content/public/common/gpu_switching_option.h File content/public/common/gpu_switching_option.h (right): http://codereview.chromium.org/10909221/diff/11014/content/public/common/gpu_switching_option.h#newcode22 content/public/common/gpu_switching_option.h:22: CONTENT_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[]; On 2012/09/17 17:13:43, Zhenyao ...
8 years, 3 months ago (2012-09-17 17:16:08 UTC) #10
Zhenyao Mo
http://codereview.chromium.org/10909221/diff/11014/content/public/common/gpu_switching_option.h File content/public/common/gpu_switching_option.h (right): http://codereview.chromium.org/10909221/diff/11014/content/public/common/gpu_switching_option.h#newcode22 content/public/common/gpu_switching_option.h:22: CONTENT_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[]; On 2012/09/17 17:16:08, John ...
8 years, 3 months ago (2012-09-17 17:28:58 UTC) #11
Zhenyao Mo
jam: revised, please have another look.
8 years, 3 months ago (2012-09-17 18:35:39 UTC) #12
jam
On 2012/09/17 18:35:39, Zhenyao Mo wrote: > jam: revised, please have another look. content/public/common/gpu_switching_option.h still ...
8 years, 3 months ago (2012-09-17 19:29:06 UTC) #13
Zhenyao Mo
On 2012/09/17 19:29:06, John Abd-El-Malek wrote: > On 2012/09/17 18:35:39, Zhenyao Mo wrote: > > ...
8 years, 3 months ago (2012-09-17 20:11:48 UTC) #14
jam
On 2012/09/17 20:11:48, Zhenyao Mo wrote: > On 2012/09/17 19:29:06, John Abd-El-Malek wrote: > > ...
8 years, 3 months ago (2012-09-17 20:37:56 UTC) #15
Zhenyao Mo
On 2012/09/17 20:37:56, John Abd-El-Malek wrote: > On 2012/09/17 20:11:48, Zhenyao Mo wrote: > > ...
8 years, 3 months ago (2012-09-17 21:19:32 UTC) #16
jam
On 2012/09/17 21:19:32, Zhenyao Mo wrote: > On 2012/09/17 20:37:56, John Abd-El-Malek wrote: > > ...
8 years, 3 months ago (2012-09-18 19:42:58 UTC) #17
Zhenyao Mo
On 2012/09/18 19:42:58, John Abd-El-Malek wrote: > On 2012/09/17 21:19:32, Zhenyao Mo wrote: > > ...
8 years, 3 months ago (2012-09-18 19:53:08 UTC) #18
Zhenyao Mo
jam: ping > > I agree the switches options are better to stay inside the ...
8 years, 3 months ago (2012-09-19 18:11:31 UTC) #19
jam
On 2012/09/19 18:11:31, Zhenyao Mo wrote: > jam: ping > > > > > I ...
8 years, 3 months ago (2012-09-19 19:55:42 UTC) #20
Zhenyao Mo
On 2012/09/19 19:55:42, John Abd-El-Malek wrote: > On 2012/09/19 18:11:31, Zhenyao Mo wrote: > > ...
8 years, 3 months ago (2012-09-20 19:25:16 UTC) #21
Zhenyao Mo
jam: also this one.
8 years, 3 months ago (2012-09-20 22:18:16 UTC) #22
jam
8 years, 3 months ago (2012-09-21 20:42:04 UTC) #23

Powered by Google App Engine
This is Rietveld 408576698