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

Issue 609003002: cc:: Remove main_frame_before_draw_enabled from scheduler settings. (Closed)

Created:
6 years, 2 months ago by orglofch
Modified:
6 years, 2 months ago
CC:
chromium-reviews, creis+watch_chromium.org, nkostylev+watch_chromium.org, Ian Vollick, nasko+codewatch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, stevenjb+watch_chromium.org, danakj+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc:: Remove main_frame_before_draw_enabled from scheduler settings. The flag is set on all platforms and adds uneeded complexity to the scheduler. BUG=418368 Committed: https://crrev.com/a772c842fc3107346666ba7884e2d062fa6a5537 Cr-Commit-Position: refs/heads/master@{#297217}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -164 lines) Patch
M cc/base/switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/base/switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/scheduler/scheduler_settings.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/scheduler/scheduler_settings.cc View 3 chunks +0 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 4 chunks +1 line, -12 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 10 chunks +10 lines, -131 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/compositor/compositor.cc View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
orglofch
I removed the main_frame_begin_draw_enabled flag since it simplified my learning of the state machine (e.g. ...
6 years, 2 months ago (2014-09-27 01:51:05 UTC) #2
brianderson
main_frame_before_draw_enabled is always true now and the flag has outlived it's usefulness, so we should ...
6 years, 2 months ago (2014-09-27 02:30:26 UTC) #3
orglofch
https://codereview.chromium.org/609003002/diff/1/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/609003002/diff/1/cc/scheduler/scheduler_state_machine.cc#newcode570 cc/scheduler/scheduler_state_machine.cc:570: DCHECK(!active_tree_needs_first_draw_); On 2014/09/27 02:30:26, brianderson wrote: > DCHECK no ...
6 years, 2 months ago (2014-09-27 21:46:42 UTC) #4
brianderson
lgtm
6 years, 2 months ago (2014-09-29 15:47:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/609003002/20001
6 years, 2 months ago (2014-09-29 16:52:47 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/14114)
6 years, 2 months ago (2014-09-29 17:01:22 UTC) #9
orglofch
+OWNERS ptal
6 years, 2 months ago (2014-09-29 17:32:12 UTC) #11
piman
lgtm
6 years, 2 months ago (2014-09-29 18:31:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/609003002/20001
6 years, 2 months ago (2014-09-29 18:48:37 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 0c5c33f20b76bc5ecc2c5aa9ee9c1db03d243055
6 years, 2 months ago (2014-09-29 18:50:04 UTC) #15
commit-bot: I haz the power
6 years, 2 months ago (2014-09-29 18:51:29 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a772c842fc3107346666ba7884e2d062fa6a5537
Cr-Commit-Position: refs/heads/master@{#297217}

Powered by Google App Engine
This is Rietveld 408576698