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

Issue 1088903002: cc: VideoResourceUpdater: don't dismiss the sync_point given by the compositor (Closed)

Created:
5 years, 8 months ago by llandwerlin-old
Modified:
5 years, 8 months ago
Reviewers:
danakj, piman
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: VideoResourceUpdater: don't dismiss the sync_point given by the compositor When the compositor is done using a video texture, it returns a sync_point associated with the last use of this texture. We appear to drop this sync_point on the floor, neither waiting on it, nor associating it to the video frame returned to the GpuVideoDecoder. This change emits a WaitSyncPointCHROMIUM on the compositor sync point when updating the renderer's media::VideoFrame release sync point. BUG=chrome-os-partner:37786 Committed: https://crrev.com/ee1b10bd38de9e6f96e491bd30c63577e22a9bae Cr-Commit-Position: refs/heads/master@{#325416}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Correct ReturnTexture() comment on sync point update #

Patch Set 3 : Update SyncPointClientImpl according to piman's suggestion #

Patch Set 4 : Pass compositor sync_point with no previous sync point in media::VideoFrame #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M cc/resources/video_resource_updater.cc View 1 2 3 2 chunks +20 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
llandwerlin-old
PTAL, Thanks.
5 years, 8 months ago (2015-04-14 11:16:30 UTC) #2
danakj
https://codereview.chromium.org/1088903002/diff/1/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/1088903002/diff/1/cc/resources/video_resource_updater.cc#newcode381 cc/resources/video_resource_updater.cc:381: // VideoFrame::UpdateReleaseSyncPoint() creates new sync point using the same ...
5 years, 8 months ago (2015-04-14 15:56:28 UTC) #4
llandwerlin-old
https://codereview.chromium.org/1088903002/diff/1/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/1088903002/diff/1/cc/resources/video_resource_updater.cc#newcode381 cc/resources/video_resource_updater.cc:381: // VideoFrame::UpdateReleaseSyncPoint() creates new sync point using the same ...
5 years, 8 months ago (2015-04-14 16:21:54 UTC) #5
piman
On 2015/04/14 15:56:28, danakj (away until april 19) wrote: > https://codereview.chromium.org/1088903002/diff/1/cc/resources/video_resource_updater.cc > File cc/resources/video_resource_updater.cc (right): ...
5 years, 8 months ago (2015-04-14 18:10:46 UTC) #6
llandwerlin-old
On 2015/04/14 18:10:46, piman (Very slow to review) wrote: > On 2015/04/14 15:56:28, danakj (away ...
5 years, 8 months ago (2015-04-15 09:55:18 UTC) #7
piman
LGTM, but worth a comment: If the video_frame already had a sync point, we need ...
5 years, 8 months ago (2015-04-15 19:48:04 UTC) #8
llandwerlin-old
On 2015/04/15 19:48:04, piman (Very slow to review) wrote: > LGTM, but worth a comment: ...
5 years, 8 months ago (2015-04-16 08:32:08 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1088903002/60001
5 years, 8 months ago (2015-04-16 08:34:14 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-16 11:48:39 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-16 11:49:33 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ee1b10bd38de9e6f96e491bd30c63577e22a9bae
Cr-Commit-Position: refs/heads/master@{#325416}

Powered by Google App Engine
This is Rietveld 408576698