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

Issue 798323003: cc: Only send a BeginMainFrame inside an BeginImplFrame. (Closed)

Created:
6 years ago by mithro-old
Modified:
6 years ago
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Only send a BeginMainFrame inside an BeginImplFrame. Currently we send a BeginMainFrame straight after surface creation. The problem with this is that we don't know what time we should be using for rendering. If we try and use Now() we break the monotonicity of the frame timestamps. BUG=346230 Committed: https://crrev.com/428ecd106b95281ec67396cc82197c367142d3c9 Cr-Commit-Position: refs/heads/master@{#309011}

Patch Set 1 #

Patch Set 2 : Trying to fix tests :( #

Total comments: 3

Patch Set 3 : Fixing the scheduler_state_machine unittests. #

Patch Set 4 : Fixing more tests I think. #

Patch Set 5 : All the scheduler and scheduler_state_machine tests now pass. #

Patch Set 6 : All the tests in cc_unittest now pass. #

Patch Set 7 : Temp upload for the try bots. #

Patch Set 8 : CL for review #

Total comments: 2

Patch Set 9 : Rebase onto master for landing. #

Patch Set 10 : Fixing for rename. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -21 lines) Patch
M cc/scheduler/scheduler_state_machine.cc View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 1 2 6 chunks +78 lines, -9 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -4 lines 0 comments Download
M cc/test/fake_external_begin_frame_source.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/fake_external_begin_frame_source.cc View 1 2 3 4 5 1 chunk +12 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
mithro-old
Hi Brian, This is the WIP CL to make sure we have BeginFrameArgs before sending ...
6 years ago (2014-12-15 15:56:49 UTC) #2
brianderson
https://codereview.chromium.org/798323003/diff/20001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/798323003/diff/20001/cc/scheduler/scheduler_state_machine.cc#newcode391 cc/scheduler/scheduler_state_machine.cc:391: if (output_surface_state_ != OUTPUT_SURFACE_ACTIVE) Why does this change need ...
6 years ago (2014-12-16 23:52:29 UTC) #3
mithro-old
https://codereview.chromium.org/798323003/diff/20001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/798323003/diff/20001/cc/scheduler/scheduler_state_machine.cc#newcode391 cc/scheduler/scheduler_state_machine.cc:391: if (output_surface_state_ != OUTPUT_SURFACE_ACTIVE) On 2014/12/16 23:52:28, brianderson wrote: ...
6 years ago (2014-12-17 03:17:30 UTC) #4
mithro-old
Hi everyone, Slowly making process on the tests. All the scheduler_state_machine tests now pass. Can ...
6 years ago (2014-12-17 07:29:44 UTC) #6
mithro-old
Down to 4 tests which seem to fail; [ FAILED ] 4 tests, listed below: ...
6 years ago (2014-12-17 14:06:48 UTC) #7
mithro-old
All tests pass now! \o/ \o/ \o/ This patch is blocked on the following patches ...
6 years ago (2014-12-17 15:20:38 UTC) #8
brianderson
https://codereview.chromium.org/798323003/diff/20001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/798323003/diff/20001/cc/scheduler/scheduler_state_machine.cc#newcode391 cc/scheduler/scheduler_state_machine.cc:391: if (output_surface_state_ != OUTPUT_SURFACE_ACTIVE) On 2014/12/17 03:17:30, mithro wrote: ...
6 years ago (2014-12-18 01:21:51 UTC) #9
brianderson
lgtm if you are sure we don't need to animate after a new output surface ...
6 years ago (2014-12-18 01:33:30 UTC) #10
mithro-old
https://codereview.chromium.org/798323003/diff/140001/cc/test/fake_external_begin_frame_source.cc File cc/test/fake_external_begin_frame_source.cc (right): https://codereview.chromium.org/798323003/diff/140001/cc/test/fake_external_begin_frame_source.cc#newcode43 cc/test/fake_external_begin_frame_source.cc:43: PostTestOnBeginFrame(); On 2014/12/18 01:33:30, brianderson wrote: > Why is ...
6 years ago (2014-12-18 13:45:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/798323003/160001
6 years ago (2014-12-18 13:45:40 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/38998) linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/44275)
6 years ago (2014-12-18 13:53:43 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/798323003/180001
6 years ago (2014-12-18 14:10:09 UTC) #17
commit-bot: I haz the power
Committed patchset #10 (id:180001)
6 years ago (2014-12-18 15:13:50 UTC) #18
commit-bot: I haz the power
6 years ago (2014-12-18 15:14:41 UTC) #19
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/428ecd106b95281ec67396cc82197c367142d3c9
Cr-Commit-Position: refs/heads/master@{#309011}

Powered by Google App Engine
This is Rietveld 408576698