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

Issue 337783002: Remove EnableThreadedCompositing from the browser. (Closed)

Created:
6 years, 6 months ago by danakj
Modified:
6 years, 5 months ago
Reviewers:
piman
CC:
chromium-reviews, creis+watch_chromium.org, nkostylev+watch_chromium.org, jdduke+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, jochen+watch_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, enne (OOO), jamesr
Project:
chromium
Visibility:
Public.

Description

Remove EnableThreadedCompositing from the browser. Now only --disable-threaded-compositing exists, which is only present for layout tests. The --enable-threaded-compositing flag moves to become a content shell flag only, as it's only used for DumpRenderTree. Change any checks in the renderer process for kEnableThreadedCompositing to instead be !kDisableThreadedCompositing since that is the only flag left. Remove the whole threaded compositing thing from about:gpu and about:flags. R=piman BUG=384381, 346363 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278151 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283870

Patch Set 1 : thread: . #

Patch Set 2 : thread: . #

Patch Set 3 : thread: . #

Total comments: 5

Patch Set 4 : thread: . #

Total comments: 2

Patch Set 5 : thread: . #

Total comments: 1

Patch Set 6 : thread: . #

Patch Set 7 : thread: . #

Patch Set 8 : thread: android is delegated woo #

Patch Set 9 : thread: rebase #

Patch Set 10 : thread: macandwin #

Patch Set 11 : thread: rebase #

Patch Set 12 : thread: rebase #

Patch Set 13 : thread: rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -124 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/android/content_startup_flags.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/gpu/compositor_util.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +1 line, -31 lines 0 comments Download
M content/browser/gpu/compositor_util_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -24 lines 0 comments Download
M content/browser/renderer_host/input/touch_input_browsertest.cc View 2 chunks +4 lines, -16 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +3 lines, -4 lines 0 comments Download
M content/browser/resources/gpu/info_view.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +0 lines, -12 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_thread_impl_browsertest.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +9 lines, -8 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/shell_android.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (0 generated)
danakj
6 years, 6 months ago (2014-06-13 17:51:07 UTC) #1
piman
lgtm https://codereview.chromium.org/337783002/diff/60001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/337783002/diff/60001/content/browser/renderer_host/render_process_host_impl.cc#newcode1114 content/browser/renderer_host/render_process_host_impl.cc:1114: switches::kDisableThreadedCompositing, Is there a way to explicitly give ...
6 years, 6 months ago (2014-06-13 20:55:19 UTC) #2
danakj
https://codereview.chromium.org/337783002/diff/60001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/337783002/diff/60001/content/browser/renderer_host/render_process_host_impl.cc#newcode1114 content/browser/renderer_host/render_process_host_impl.cc:1114: switches::kDisableThreadedCompositing, On 2014/06/13 20:55:19, piman wrote: > Is there ...
6 years, 6 months ago (2014-06-13 20:57:29 UTC) #3
piman
On 2014/06/13 20:57:29, danakj wrote: > https://codereview.chromium.org/337783002/diff/60001/content/browser/renderer_host/render_process_host_impl.cc > File content/browser/renderer_host/render_process_host_impl.cc (right): > > https://codereview.chromium.org/337783002/diff/60001/content/browser/renderer_host/render_process_host_impl.cc#newcode1114 > ...
6 years, 6 months ago (2014-06-13 21:05:09 UTC) #4
danakj
https://codereview.chromium.org/337783002/diff/60001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/337783002/diff/60001/content/browser/renderer_host/render_process_host_impl.cc#newcode1114 content/browser/renderer_host/render_process_host_impl.cc:1114: switches::kDisableThreadedCompositing, On 2014/06/13 20:57:28, danakj wrote: > On 2014/06/13 ...
6 years, 6 months ago (2014-06-13 21:46:36 UTC) #5
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-13 21:46:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/337783002/80001
6 years, 6 months ago (2014-06-13 21:49:30 UTC) #7
piman
https://codereview.chromium.org/337783002/diff/80001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/337783002/diff/80001/content/renderer/render_widget.cc#newcode152 content/renderer/render_widget.cc:152: return !!content::RenderThreadImpl::current() Oh, iirc there's a couple of tests ...
6 years, 6 months ago (2014-06-13 21:56:42 UTC) #8
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-13 21:58:52 UTC) #9
danakj
https://codereview.chromium.org/337783002/diff/80001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/337783002/diff/80001/content/renderer/render_widget.cc#newcode152 content/renderer/render_widget.cc:152: return !!content::RenderThreadImpl::current() On 2014/06/13 21:56:42, piman wrote: > Oh, ...
6 years, 6 months ago (2014-06-13 21:58:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/337783002/100001
6 years, 6 months ago (2014-06-13 22:02:52 UTC) #11
piman
https://codereview.chromium.org/337783002/diff/100001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/337783002/diff/100001/content/renderer/render_widget.cc#newcode153 content/renderer/render_widget.cc:153: return !impl || !!impl->compositor_message_loop_proxy().get(); I think it should be ...
6 years, 6 months ago (2014-06-13 22:07:18 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-14 06:12:02 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/195772)
6 years, 6 months ago (2014-06-14 06:12:03 UTC) #14
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-16 16:14:14 UTC) #15
danakj
Ok going to do impl && impl->compositorthreadproxy() for now. I'll look at doing nicer plumbing ...
6 years, 6 months ago (2014-06-16 16:14:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/337783002/120001
6 years, 6 months ago (2014-06-16 16:15:15 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-16 20:54:27 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/152514)
6 years, 6 months ago (2014-06-16 20:54:28 UTC) #19
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-17 20:06:37 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/337783002/140001
6 years, 6 months ago (2014-06-17 20:08:20 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 02:26:37 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/163507)
6 years, 6 months ago (2014-06-18 02:26:38 UTC) #23
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-18 15:34:25 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/337783002/160001
6 years, 6 months ago (2014-06-18 15:35:51 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 16:17:19 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/162502) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/151856) ios_rel_device_ninja ...
6 years, 6 months ago (2014-06-18 16:17:20 UTC) #27
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 6 months ago (2014-06-18 16:21:13 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/337783002/180001
6 years, 6 months ago (2014-06-18 16:24:39 UTC) #29
commit-bot: I haz the power
Change committed as 278151
6 years, 6 months ago (2014-06-18 19:50:10 UTC) #30
danakj
A revert of this CL has been created in https://codereview.chromium.org/344703002/ by danakj@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-18 21:05:34 UTC) #31
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 5 months ago (2014-07-17 17:32:15 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/337783002/250001
6 years, 5 months ago (2014-07-17 17:33:24 UTC) #33
commit-bot: I haz the power
6 years, 5 months ago (2014-07-17 21:06:57 UTC) #34
Message was sent while issue was closed.
Change committed as 283870

Powered by Google App Engine
This is Rietveld 408576698