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

Issue 1753383003: Get rid of gpu related switches by passing gpu::GpuPreferences via IPC. (Closed)

Created:
4 years, 9 months ago by Peng
Modified:
4 years, 9 months ago
Reviewers:
palmer, boliu, piman
CC:
chromium-reviews, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Get rid of gpu related switches by passing gpu::GpuPreferences via IPC. BUG=590825 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/248b114c9d3034964c7259222712dfcccfad8f48 Cr-Commit-Position: refs/heads/master@{#379651} Committed: https://crrev.com/2084d99587adfa5eeb4025d5a12c8856fe8d2f3a Cr-Commit-Position: refs/heads/master@{#380320}

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : Update #

Patch Set 4 : Update #

Patch Set 5 : Update #

Total comments: 2

Patch Set 6 : Update #

Patch Set 7 : Rebased #

Total comments: 4

Patch Set 8 : Update #

Patch Set 9 : Update #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -192 lines) Patch
M android_webview/browser/deferred_gpu_command_service.cc View 2 3 4 5 3 chunks +3 lines, -70 lines 0 comments Download
M content/browser/android/synchronous_compositor_base.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/gpu/gpu_process_host.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 8 7 chunks +8 lines, -8 lines 0 comments Download
M content/common/gpu/gpu_host_messages.h View 1 2 3 4 5 6 3 chunks +30 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.h View 1 2 3 4 5 6 2 chunks +1 line, -3 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 4 5 6 4 chunks +2 lines, -75 lines 0 comments Download
M content/gpu/in_process_gpu_thread.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/gpu/in_process_gpu_thread.cc View 1 chunk +3 lines, -2 lines 0 comments Download
A content/public/browser/gpu_utils.h View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download
A content/public/browser/gpu_utils.cc View 1 2 3 4 5 6 7 8 1 chunk +89 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gpu_preferences.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gpu_switches.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gpu_switches.cc View 1 2 3 4 1 chunk +0 lines, -23 lines 0 comments Download

Messages

Total messages: 38 (16 generated)
Peng
Hi piman, PTAL. Thanks.
4 years, 9 months ago (2016-03-03 19:26:30 UTC) #3
piman
https://codereview.chromium.org/1753383003/diff/80001/content/public/browser/gpu_utils.cc File content/public/browser/gpu_utils.cc (right): https://codereview.chromium.org/1753383003/diff/80001/content/public/browser/gpu_utils.cc#newcode94 content/public/browser/gpu_utils.cc:94: g_gpu_preferences = LAZY_INSTANCE_INITIALIZER; Do we need this global, in ...
4 years, 9 months ago (2016-03-03 20:18:12 UTC) #4
Peng
https://codereview.chromium.org/1753383003/diff/80001/content/public/browser/gpu_utils.cc File content/public/browser/gpu_utils.cc (right): https://codereview.chromium.org/1753383003/diff/80001/content/public/browser/gpu_utils.cc#newcode94 content/public/browser/gpu_utils.cc:94: g_gpu_preferences = LAZY_INSTANCE_INITIALIZER; On 2016/03/03 20:18:12, piman - OOO ...
4 years, 9 months ago (2016-03-03 22:20:55 UTC) #5
piman
lgtm
4 years, 9 months ago (2016-03-04 20:39:16 UTC) #6
Peng
Hi boliu, PTAL. Thanks.
4 years, 9 months ago (2016-03-04 20:45:57 UTC) #10
boliu
lgtm
4 years, 9 months ago (2016-03-05 00:34:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753383003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753383003/100001
4 years, 9 months ago (2016-03-05 00:42:31 UTC) #13
boliu
On 2016/03/05 00:42:31, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 9 months ago (2016-03-05 00:43:19 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/153633)
4 years, 9 months ago (2016-03-05 00:52:45 UTC) #16
Peng
+palmer@ for content/common/gpu/gpu_host_messages.h Hi palmer, PTAL. Thanks.
4 years, 9 months ago (2016-03-07 15:33:51 UTC) #18
palmer
https://codereview.chromium.org/1753383003/diff/120001/content/gpu/gpu_child_thread.cc File content/gpu/gpu_child_thread.cc (right): https://codereview.chromium.org/1753383003/diff/120001/content/gpu/gpu_child_thread.cc#newcode342 content/gpu/gpu_child_thread.cc:342: gpu_preferences_ = gpu_preferences; Is it necessary to validate the ...
4 years, 9 months ago (2016-03-07 19:39:56 UTC) #19
piman
https://codereview.chromium.org/1753383003/diff/120001/content/gpu/gpu_child_thread.cc File content/gpu/gpu_child_thread.cc (right): https://codereview.chromium.org/1753383003/diff/120001/content/gpu/gpu_child_thread.cc#newcode342 content/gpu/gpu_child_thread.cc:342: gpu_preferences_ = gpu_preferences; On 2016/03/07 19:39:56, palmer wrote: > ...
4 years, 9 months ago (2016-03-07 19:53:32 UTC) #20
Peng
https://codereview.chromium.org/1753383003/diff/120001/gpu/command_buffer/service/gpu_preferences.h File gpu/command_buffer/service/gpu_preferences.h (right): https://codereview.chromium.org/1753383003/diff/120001/gpu/command_buffer/service/gpu_preferences.h#newcode69 gpu/command_buffer/service/gpu_preferences.h:69: unsigned int force_gpu_mem_available = 0; On 2016/03/07 19:39:56, palmer ...
4 years, 9 months ago (2016-03-07 19:56:20 UTC) #21
palmer
LGTM
4 years, 9 months ago (2016-03-07 20:01:22 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753383003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753383003/140001
4 years, 9 months ago (2016-03-07 20:13:46 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-07 21:49:52 UTC) #26
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/248b114c9d3034964c7259222712dfcccfad8f48 Cr-Commit-Position: refs/heads/master@{#379651}
4 years, 9 months ago (2016-03-07 21:52:26 UTC) #28
shatch
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/1778693002/ by simonhatch@chromium.org. ...
4 years, 9 months ago (2016-03-08 22:48:57 UTC) #29
Peng
On 2016/03/08 22:48:57, shatch wrote: > A revert of this CL (patchset #8 id:140001) has ...
4 years, 9 months ago (2016-03-10 02:16:13 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1753383003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1753383003/180001
4 years, 9 months ago (2016-03-10 02:16:44 UTC) #34
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 9 months ago (2016-03-10 03:33:07 UTC) #36
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 03:35:05 UTC) #38
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/2084d99587adfa5eeb4025d5a12c8856fe8d2f3a
Cr-Commit-Position: refs/heads/master@{#380320}

Powered by Google App Engine
This is Rietveld 408576698