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

Issue 723713003: cc: Add SetChildrenNeedBeginFrames() & SendBeginFramesToChildren() (Closed)

Created:
6 years, 1 month ago by simonhong
Modified:
6 years, 1 month ago
Reviewers:
brianderson, picksi1
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org, mithro-old
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Add SetChildrenNeedBeginFrames() & SendBeginFramesToChildren() This cl is preparation for unified BeginFrame in cc layer. This implements handling of forwarding_begin_frames_to_children in cc. And this forwarding is not yet propagated to content layer. R=brianderson@chromium.org BUG=372086 TEST=cc_unittests Committed: https://crrev.com/d3d5f7f94c494dc1289d3ed8ffdc0cc17ba894bc Cr-Commit-Position: refs/heads/master@{#305226}

Patch Set 1 #

Patch Set 2 : More tests are added #

Total comments: 8

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -7 lines) Patch
M cc/scheduler/scheduler.h View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 3 4 4 chunks +25 lines, -5 lines 0 comments Download
M cc/scheduler/scheduler_state_machine_unittest.cc View 1 1 chunk +15 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 4 5 chunks +41 lines, -0 lines 0 comments Download
M cc/test/fake_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 1 chunk +76 lines, -0 lines 0 comments Download
M cc/trees/proxy.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (2 generated)
simonhong
PTAL!
6 years, 1 month ago (2014-11-12 22:26:58 UTC) #1
simonhong
brianderson@, should we stop implementing unified BeginFrame until initial SurfaceScheduler is added?
6 years, 1 month ago (2014-11-15 00:17:36 UTC) #2
mithro-old
I've yet to have a chat with Brian, but I think we should continue with ...
6 years, 1 month ago (2014-11-17 04:43:58 UTC) #3
jbauman
Yeah, this particular code probably won't be useful with the DisplayScheduler, but a bunch of ...
6 years, 1 month ago (2014-11-18 00:49:26 UTC) #4
mithro-old
John, is it right to assume that the Display Surfaces *could* use the same BeginFrame ...
6 years, 1 month ago (2014-11-18 01:08:19 UTC) #5
brianderson
Patch is looking good. I only have a few small comments. https://codereview.chromium.org/723713003/diff/20001/cc/scheduler/scheduler.cc File cc/scheduler/scheduler.cc (right): ...
6 years, 1 month ago (2014-11-19 19:03:35 UTC) #6
picksi1
Just nosing around in this CL... I have two readability comments that have no functional ...
6 years, 1 month ago (2014-11-20 13:43:18 UTC) #8
simonhong
https://codereview.chromium.org/723713003/diff/20001/cc/scheduler/scheduler.cc File cc/scheduler/scheduler.cc (right): https://codereview.chromium.org/723713003/diff/20001/cc/scheduler/scheduler.cc#newcode455 cc/scheduler/scheduler.cc:455: ProcessScheduledActions(); On 2014/11/19 19:03:34, brianderson wrote: > This should ...
6 years, 1 month ago (2014-11-20 16:24:09 UTC) #9
picksi1
Great! The more '!'s you kill the happier I get!
6 years, 1 month ago (2014-11-20 16:35:08 UTC) #10
brianderson
lgtm https://codereview.chromium.org/723713003/diff/40001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/723713003/diff/40001/cc/scheduler/scheduler_state_machine.cc#newcode732 cc/scheduler/scheduler_state_machine.cc:732: if (SupportsProactiveBeginFrame()) Please use brackets here.
6 years, 1 month ago (2014-11-21 02:08:06 UTC) #11
simonhong
https://codereview.chromium.org/723713003/diff/40001/cc/scheduler/scheduler_state_machine.cc File cc/scheduler/scheduler_state_machine.cc (right): https://codereview.chromium.org/723713003/diff/40001/cc/scheduler/scheduler_state_machine.cc#newcode732 cc/scheduler/scheduler_state_machine.cc:732: if (SupportsProactiveBeginFrame()) On 2014/11/21 02:08:05, brianderson wrote: > Please ...
6 years, 1 month ago (2014-11-21 15:42:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/723713003/80001
6 years, 1 month ago (2014-11-21 15:44:19 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years, 1 month ago (2014-11-21 16:38:16 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-11-21 16:38:56 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d3d5f7f94c494dc1289d3ed8ffdc0cc17ba894bc
Cr-Commit-Position: refs/heads/master@{#305226}

Powered by Google App Engine
This is Rietveld 408576698