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

Issue 1299523002: Call VideoFrameProviderImpl::DidReceiveFrame when background render completes. (Closed)

Created:
5 years, 4 months ago by jbauman
Modified:
5 years, 4 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Call VideoFrameProviderImpl::DidReceiveFrame when background render completes. VideoFrameCompositor::OnRendererStateUpdate(true) may run and do a background render after BeginFrame but before the compositor frame is actually drawn. It needs to do DidReceiveFrame so that the layer's update_rect contains the entire video, because UpdateCurrentFrame won't be called and won't modify the update rect until the next BeginFrame. BUG=515887 Committed: https://crrev.com/0e9c64c2f69e105042297f39a299a897c2d15459 Cr-Commit-Position: refs/heads/master@{#343553}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M media/blink/video_frame_compositor.cc View 1 chunk +3 lines, -1 line 2 comments Download

Messages

Total messages: 11 (2 generated)
jbauman
5 years, 4 months ago (2015-08-14 21:24:42 UTC) #2
hendrikw
I think we can remove had_new_background_frame after this change, I can do this in a ...
5 years, 4 months ago (2015-08-14 21:39:20 UTC) #3
DaleCurtis
https://codereview.chromium.org/1299523002/diff/1/media/blink/video_frame_compositor.cc File media/blink/video_frame_compositor.cc (right): https://codereview.chromium.org/1299523002/diff/1/media/blink/video_frame_compositor.cc#newcode224 media/blink/video_frame_compositor.cc:224: client_->DidReceiveFrame(); Hmm, this means we're calling SetNeedsRedraw() even for ...
5 years, 4 months ago (2015-08-14 21:50:04 UTC) #4
DaleCurtis
https://codereview.chromium.org/1299523002/diff/1/media/blink/video_frame_compositor.cc File media/blink/video_frame_compositor.cc (right): https://codereview.chromium.org/1299523002/diff/1/media/blink/video_frame_compositor.cc#newcode224 media/blink/video_frame_compositor.cc:224: client_->DidReceiveFrame(); On 2015/08/14 21:50:03, DaleCurtis wrote: > Hmm, this ...
5 years, 4 months ago (2015-08-14 21:51:41 UTC) #5
jbauman
On 2015/08/14 21:51:41, DaleCurtis wrote: > https://codereview.chromium.org/1299523002/diff/1/media/blink/video_frame_compositor.cc > File media/blink/video_frame_compositor.cc (right): > > https://codereview.chromium.org/1299523002/diff/1/media/blink/video_frame_compositor.cc#newcode224 > ...
5 years, 4 months ago (2015-08-14 23:05:16 UTC) #6
DaleCurtis
lgtm then, lets see what the bots say.
5 years, 4 months ago (2015-08-14 23:23:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1299523002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1299523002/1
5 years, 4 months ago (2015-08-14 23:37:28 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 4 months ago (2015-08-15 02:58:15 UTC) #10
commit-bot: I haz the power
5 years, 4 months ago (2015-08-15 02:59:12 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/0e9c64c2f69e105042297f39a299a897c2d15459
Cr-Commit-Position: refs/heads/master@{#343553}

Powered by Google App Engine
This is Rietveld 408576698