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

Issue 1113283002: cc: Send BeginFrame to VideoFrameController when added if we're inside a frame. (Closed)

Created:
5 years, 7 months ago by sunnyps
Modified:
5 years, 7 months ago
Reviewers:
brianderson, DaleCurtis
CC:
chromium-reviews, cc-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: Send BeginFrame to VideoFrameController when added. When a VideoFrameController starts rendering it has to wait until the next frame to get a BeginFrame message. This means that it renders nothing for the first frame if it is able to draw in that frame. Committed: https://crrev.com/c052ba992cee6d00e84ee00d434453700fe89731 Cr-Commit-Position: refs/heads/master@{#328238}

Patch Set 1 #

Patch Set 2 : Fix for DCHECK. #

Patch Set 3 : Add tests. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
M cc/layers/video_frame_provider_client_impl.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +2 lines, -0 lines 2 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
sunnyps
PTAL This should solve the LayoutTests that break on turning on the new video renderer. ...
5 years, 7 months ago (2015-05-01 00:07:23 UTC) #2
DaleCurtis
Could this deadlock if AcquireLockAndCurrentFrame() has been previously called, since we attempt to acquire the ...
5 years, 7 months ago (2015-05-01 00:09:58 UTC) #3
sunnyps
On 2015/05/01 00:09:58, DaleCurtis wrote: > Could this deadlock if AcquireLockAndCurrentFrame() has been previously called, ...
5 years, 7 months ago (2015-05-01 00:18:06 UTC) #4
DaleCurtis
On 2015/05/01 00:18:06, sunnyps wrote: > On 2015/05/01 00:09:58, DaleCurtis wrote: > > Could this ...
5 years, 7 months ago (2015-05-01 00:33:25 UTC) #5
sunnyps
On 2015/05/01 00:33:25, DaleCurtis wrote: > On 2015/05/01 00:18:06, sunnyps wrote: > > On 2015/05/01 ...
5 years, 7 months ago (2015-05-01 01:14:22 UTC) #6
DaleCurtis
lgtm, this fixes the layout tests with some additional tweaks on my side.
5 years, 7 months ago (2015-05-02 00:24:19 UTC) #7
DaleCurtis
Whoops, forgot, one more nit: you need to update VideoFrameProviderClientImpl to move the renderering_ set ...
5 years, 7 months ago (2015-05-02 00:25:48 UTC) #8
sunnyps
On 2015/05/02 00:25:48, DaleCurtis wrote: > Whoops, forgot, one more nit: you need to update ...
5 years, 7 months ago (2015-05-02 00:33:05 UTC) #9
DaleCurtis
Ah, yeah you're right, thanks! Hopefully we can get in all of these patches by ...
5 years, 7 months ago (2015-05-02 00:53:10 UTC) #10
DaleCurtis
Sunny, given our conversation on the other thread, do you want to add a test ...
5 years, 7 months ago (2015-05-04 22:27:28 UTC) #11
sunnyps
On 2015/05/04 22:27:28, DaleCurtis wrote: > Sunny, given our conversation on the other thread, do ...
5 years, 7 months ago (2015-05-04 23:22:45 UTC) #12
brianderson
lgtm https://codereview.chromium.org/1113283002/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1113283002/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode3088 cc/trees/layer_tree_host_impl.cc:3088: controller->OnBeginFrame(current_begin_frame_args_); Not that the controller is really going ...
5 years, 7 months ago (2015-05-04 23:39:47 UTC) #13
sunnyps
Thanks! https://codereview.chromium.org/1113283002/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/1113283002/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode3088 cc/trees/layer_tree_host_impl.cc:3088: controller->OnBeginFrame(current_begin_frame_args_); On 2015/05/04 23:39:47, brianderson wrote: > Not ...
5 years, 7 months ago (2015-05-04 23:41:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1113283002/40001
5 years, 7 months ago (2015-05-04 23:42:50 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-05 00:42:39 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 00:43:25 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c052ba992cee6d00e84ee00d434453700fe89731
Cr-Commit-Position: refs/heads/master@{#328238}

Powered by Google App Engine
This is Rietveld 408576698