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

Issue 1039533002: cc: Add support for sending BeginFrames for video. (Closed)

Created:
5 years, 9 months ago by sunnyps
Modified:
5 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@misc_video_refactoring
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Add support for sending BeginFrames for video. This CL adds support for plumbing BeginFrames to VideoFrameProviderClientImpl if it opts into it. This is required for upcoming video rendering changes to improve video smoothness. BUG=456991 Committed: https://crrev.com/7d073dc78a7578aababc032237a54e55a86d3480 Cr-Commit-Position: refs/heads/master@{#325550}

Patch Set 1 #

Patch Set 2 : Rebase. #

Patch Set 3 : Add some tests. #

Patch Set 4 : Remove visibility updates. #

Total comments: 8

Patch Set 5 : Rebase. #

Patch Set 6 : Address comments. #

Patch Set 7 : Fix comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -8 lines) Patch
M cc/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/video_frame_provider_client_impl.h View 1 2 3 4 5 6 4 chunks +10 lines, -2 lines 0 comments Download
M cc/layers/video_frame_provider_client_impl.cc View 1 2 3 4 3 chunks +15 lines, -4 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M cc/scheduler/scheduler.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 3 4 5 chunks +11 lines, -1 line 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 4 1 chunk +31 lines, -0 lines 0 comments Download
A cc/scheduler/video_frame_controller.h View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_impl_client.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 6 chunks +9 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (5 generated)
sunnyps
PTAL
5 years, 8 months ago (2015-04-07 21:03:01 UTC) #2
sunnyps
danakj@: Could you PTAL at LTHI/video changes? Thanks!
5 years, 8 months ago (2015-04-07 21:03:53 UTC) #4
danakj
Is there a design doc/bug explaining what the VideoFrameProviderClient is going to do with tab-visibility?
5 years, 8 months ago (2015-04-07 21:15:12 UTC) #5
sunnyps
On 2015/04/07 21:15:12, danakj wrote: > Is there a design doc/bug explaining what the VideoFrameProviderClient ...
5 years, 8 months ago (2015-04-07 21:25:05 UTC) #6
danakj
On Tue, Apr 7, 2015 at 2:25 PM, <sunnyps@chromium.org> wrote: > On 2015/04/07 21:15:12, danakj ...
5 years, 8 months ago (2015-04-07 21:30:35 UTC) #7
DaleCurtis
On 2015/04/07 21:30:35, danakj wrote: > On Tue, Apr 7, 2015 at 2:25 PM, <mailto:sunnyps@chromium.org> ...
5 years, 8 months ago (2015-04-07 22:17:16 UTC) #8
brianderson
On 2015/04/07 22:17:16, DaleCurtis wrote: > On 2015/04/07 21:30:35, danakj wrote: > > On Tue, ...
5 years, 8 months ago (2015-04-07 22:34:58 UTC) #9
DaleCurtis
On 2015/04/07 22:34:58, brianderson wrote: > On 2015/04/07 22:17:16, DaleCurtis wrote: > > On 2015/04/07 ...
5 years, 8 months ago (2015-04-07 22:43:00 UTC) #10
sunnyps
I looked at how LayerTreeHost::SetVisible gets called from blink and it's not pretty. Hooking that ...
5 years, 8 months ago (2015-04-07 23:33:43 UTC) #11
danakj
We don't commit while not visible. The scheduler shouldn't let this happen. On Tue, Apr ...
5 years, 8 months ago (2015-04-07 23:37:53 UTC) #12
sunnyps
On 2015/04/07 23:37:53, danakj wrote: > We don't commit while not visible. The scheduler shouldn't ...
5 years, 8 months ago (2015-04-08 00:11:47 UTC) #13
danakj
On Tue, Apr 7, 2015 at 5:11 PM, <sunnyps@chromium.org> wrote: > On 2015/04/07 23:37:53, danakj ...
5 years, 8 months ago (2015-04-08 18:11:48 UTC) #14
DaleCurtis
I had a thought last night about how we might be able to avoid the ...
5 years, 8 months ago (2015-04-11 16:22:10 UTC) #15
DaleCurtis
I believe my approach will be viable, so I've nuked the concept of visibility on ...
5 years, 8 months ago (2015-04-13 18:32:43 UTC) #17
sunnyps
Removed visibility updates from this CL. PTAL.
5 years, 8 months ago (2015-04-13 22:43:54 UTC) #18
brianderson
lgtm https://codereview.chromium.org/1039533002/diff/60001/cc/scheduler/scheduler.h File cc/scheduler/scheduler.h (right): https://codereview.chromium.org/1039533002/diff/60001/cc/scheduler/scheduler.h#newcode175 cc/scheduler/scheduler.h:175: void SetVideoNeedsBeginFrames(bool video_needs_begin_frames); Group with SetChildrenNeedBeginFrames? https://codereview.chromium.org/1039533002/diff/60001/cc/scheduler/scheduler_state_machine.cc File ...
5 years, 8 months ago (2015-04-16 01:42:23 UTC) #19
sunnyps
Thanks! https://codereview.chromium.org/1039533002/diff/60001/cc/scheduler/scheduler.h File cc/scheduler/scheduler.h (right): https://codereview.chromium.org/1039533002/diff/60001/cc/scheduler/scheduler.h#newcode175 cc/scheduler/scheduler.h:175: void SetVideoNeedsBeginFrames(bool video_needs_begin_frames); On 2015/04/16 01:42:23, brianderson wrote: ...
5 years, 8 months ago (2015-04-16 20:56:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1039533002/120001
5 years, 8 months ago (2015-04-16 20:58:39 UTC) #23
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 8 months ago (2015-04-16 23:29:21 UTC) #24
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 23:31:00 UTC) #25
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7d073dc78a7578aababc032237a54e55a86d3480
Cr-Commit-Position: refs/heads/master@{#325550}

Powered by Google App Engine
This is Rietveld 408576698