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

Issue 2712983003: [cc] Set BeginFrame sequence numbers on CompositorFrames from Scheduler. (Closed)

Created:
3 years, 10 months ago by Eric Seckler
Modified:
3 years, 9 months ago
Reviewers:
brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org, Sami, enne (OOO)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[cc] Set BeginFrame sequence numbers on CompositorFrames from Scheduler. Other CompositorFrame creators will have to set these, too. But that'll follow separately. BUG=646774, 401331, 697086 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2712983003 Cr-Commit-Position: refs/heads/master@{#455194} Committed: https://chromium.googlesource.com/chromium/src/+/dde665fa0a7577e619e819c13c9e4af95d8b19b1

Patch Set 1 : sync #

Total comments: 12

Patch Set 2 : store BeginFrameAck instead. #

Total comments: 4

Patch Set 3 : fix comment + test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -44 lines) Patch
M cc/output/begin_frame_args.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M cc/output/compositor_frame_metadata.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 1 1 chunk +0 lines, -3 lines 0 comments Download
M cc/test/begin_frame_source_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 38 chunks +44 lines, -38 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 2 chunks +78 lines, -0 lines 0 comments Download
M cc/trees/proxy_impl.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 chunks +8 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (15 generated)
Eric Seckler
Seemed like the queue was draining, here's another one! :P Thank you for the reviews, ...
3 years, 10 months ago (2017-02-23 17:30:48 UTC) #5
brianderson
https://codereview.chromium.org/2712983003/diff/20001/cc/output/compositor_frame_metadata.h File cc/output/compositor_frame_metadata.h (right): https://codereview.chromium.org/2712983003/diff/20001/cc/output/compositor_frame_metadata.h#newcode91 cc/output/compositor_frame_metadata.h:91: BeginFrameArgs::kInvalidFrameNumber; Can this be an instance of the BeginFrameAck ...
3 years, 10 months ago (2017-02-24 01:08:40 UTC) #13
Eric Seckler
Thank you! PTAL :) https://codereview.chromium.org/2712983003/diff/20001/cc/output/compositor_frame_metadata.h File cc/output/compositor_frame_metadata.h (right): https://codereview.chromium.org/2712983003/diff/20001/cc/output/compositor_frame_metadata.h#newcode91 cc/output/compositor_frame_metadata.h:91: BeginFrameArgs::kInvalidFrameNumber; On 2017/02/24 01:08:36, brianderson ...
3 years, 9 months ago (2017-02-27 11:50:32 UTC) #14
brianderson
https://codereview.chromium.org/2712983003/diff/40001/cc/output/begin_frame_args.h File cc/output/begin_frame_args.h (right): https://codereview.chromium.org/2712983003/diff/40001/cc/output/begin_frame_args.h#newcode54 cc/output/begin_frame_args.h:54: static constexpr uint32_t kManualSourceId = UINT32_MAX; Can you add ...
3 years, 9 months ago (2017-03-02 19:53:36 UTC) #16
Eric Seckler
PTAL :) https://codereview.chromium.org/2712983003/diff/40001/cc/output/begin_frame_args.h File cc/output/begin_frame_args.h (right): https://codereview.chromium.org/2712983003/diff/40001/cc/output/begin_frame_args.h#newcode54 cc/output/begin_frame_args.h:54: static constexpr uint32_t kManualSourceId = UINT32_MAX; On ...
3 years, 9 months ago (2017-03-07 12:26:56 UTC) #17
brianderson
lgtm
3 years, 9 months ago (2017-03-07 18:06:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2712983003/60001
3 years, 9 months ago (2017-03-07 18:19:58 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://chromium.googlesource.com/chromium/src/+/dde665fa0a7577e619e819c13c9e4af95d8b19b1
3 years, 9 months ago (2017-03-07 20:20:18 UTC) #23
chanli1
3 years, 9 months ago (2017-03-08 21:13:36 UTC) #24
Message was sent while issue was closed.
On 2017/03/07 20:20:18, commit-bot: I haz the power wrote:
> Committed patchset #3 (id:60001) as
>
https://chromium.googlesource.com/chromium/src/+/dde665fa0a7577e619e819c13c9e...

Hello,

Based on
https://findit-for-me.appspot.com/waterfall/check-flake?key=ag9zfmZpbmRpdC1mb...

The test
LayerTreeHostTestBeginFrameSequenceNumbers.RunMultiThread_DelegatingRenderer was
flaky since it's added. Could you help me and check if this change related to
the flakiness?

Thank you,
Chan Li

Powered by Google App Engine
This is Rietveld 408576698