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 12593005: Add a user pref in Settings to disable all GPU features. (Closed)

Created:
7 years, 9 months ago by Zhenyao Mo
Modified:
7 years, 9 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, arv+watch_chromium.org, wiltzius
Visibility:
Public.

Description

Add a user pref in Settings to disable all GPU features. BUG=173130 TEST=about:settings Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187666

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -24 lines) Patch
M chrome/app/chromium_strings.grd View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/browser_process.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/gpu/gpu_mode_manager.h View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/gpu/gpu_mode_manager.cc View 1 2 1 chunk +47 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 2 chunks +17 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/base/testing_browser_process.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/testing_browser_process.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.h View 3 chunks +3 lines, -5 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_unittest.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/gpu_data_manager.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Zhenyao Mo
cpu: chrome/app jhawkins: options related sky: chrome/test joi: content/public apatrick: gpu related thestig: other chrome/browser ...
7 years, 9 months ago (2013-03-08 02:09:07 UTC) #1
Jói
LGTM for content/public
7 years, 9 months ago (2013-03-08 02:14:37 UTC) #2
sky
chrome/test LGTM : feel free to TBR these sort of changes.
7 years, 9 months ago (2013-03-08 15:40:44 UTC) #3
cpu_(ooo_6.6-7.5)
grd files don't have owners anymore afaik.
7 years, 9 months ago (2013-03-08 18:25:57 UTC) #4
Lei Zhang
https://codereview.chromium.org/12593005/diff/1/chrome/browser/gpu/gpu_mode_manager.cc File chrome/browser/gpu/gpu_mode_manager.cc (right): https://codereview.chromium.org/12593005/diff/1/chrome/browser/gpu/gpu_mode_manager.cc#newcode21 chrome/browser/gpu/gpu_mode_manager.cc:21: CHECK(g_browser_process != NULL); Probably don't need this. If |g_browser_process| ...
7 years, 9 months ago (2013-03-08 23:29:10 UTC) #5
Zhenyao Mo
thestig: revised, please have another look. https://codereview.chromium.org/12593005/diff/1/chrome/browser/gpu/gpu_mode_manager.cc File chrome/browser/gpu/gpu_mode_manager.cc (right): https://codereview.chromium.org/12593005/diff/1/chrome/browser/gpu/gpu_mode_manager.cc#newcode21 chrome/browser/gpu/gpu_mode_manager.cc:21: CHECK(g_browser_process != NULL); ...
7 years, 9 months ago (2013-03-09 00:15:45 UTC) #6
Lei Zhang
lgtm once you get approvals for the options and gpu bits. https://codereview.chromium.org/12593005/diff/18001/chrome/browser/gpu/gpu_mode_manager.cc File chrome/browser/gpu/gpu_mode_manager.cc (right): ...
7 years, 9 months ago (2013-03-09 00:23:42 UTC) #7
Zhenyao Mo
https://codereview.chromium.org/12593005/diff/18001/chrome/browser/gpu/gpu_mode_manager.cc File chrome/browser/gpu/gpu_mode_manager.cc (right): https://codereview.chromium.org/12593005/diff/18001/chrome/browser/gpu/gpu_mode_manager.cc#newcode39 chrome/browser/gpu/gpu_mode_manager.cc:39: void GpuModeManager::OnGpuModeEnabledPrefChanged() { On 2013/03/09 00:23:43, Lei Zhang wrote: ...
7 years, 9 months ago (2013-03-09 00:30:48 UTC) #8
zmo
jhawkins, apatrick: ping.
7 years, 9 months ago (2013-03-11 18:01:46 UTC) #9
Zhenyao Mo
Also add dbeam and estade. Please have a look at the option related code.
7 years, 9 months ago (2013-03-12 16:35:19 UTC) #10
Evan Stade
settings lgtm
7 years, 9 months ago (2013-03-12 19:23:29 UTC) #11
apatrick_chromium
gpu things LGTM
7 years, 9 months ago (2013-03-12 22:08:22 UTC) #12
Zhenyao Mo
7 years, 9 months ago (2013-03-12 22:32:25 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 manually as r187666 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698