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

Issue 1060433002: VDA: Don't wait for the VSyncProvider in headless mode (Closed)

Created:
5 years, 8 months ago by dnicoara
Modified:
5 years, 8 months ago
Reviewers:
Owen Lin, Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix-vda2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

VDA: Don't wait for the VSyncProvider in headless mode The VSyncProvider does not guarantee that the callback is ever called. On Ozone-GBM, the VSyncProvider relies on CRTC information to determine when the vsync deadline will occurr. Since we're headless, that information cannot be use, so the callback will never be called. BUG=471550 Committed: https://crrev.com/42d7f4ea43b42a3bc1405a2b9561e15b3fb37d77 Cr-Commit-Position: refs/heads/master@{#326786}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment & rebase #

Total comments: 8

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M content/common/gpu/media/rendering_helper.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/gpu/media/rendering_helper.cc View 1 2 3 4 5 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
dnicoara
I got VDA working on a headless panther with this patch (and the window size ...
5 years, 8 months ago (2015-04-02 21:45:53 UTC) #2
Pawel Osciak
5 years, 8 months ago (2015-04-03 00:27:38 UTC) #4
Owen Lin
lgtm % a nit
5 years, 8 months ago (2015-04-07 05:06:35 UTC) #5
dnicoara
On 2015/04/07 05:06:35, Owen Lin wrote: > lgtm % a nit Did you forget the ...
5 years, 8 months ago (2015-04-14 13:48:56 UTC) #6
Owen Lin
Oops, it is still in my draft. https://codereview.chromium.org/1060433002/diff/1/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/1060433002/diff/1/content/common/gpu/media/rendering_helper.cc#newcode481 content/common/gpu/media/rendering_helper.cc:481: if (!is_headless_ ...
5 years, 8 months ago (2015-04-15 02:57:53 UTC) #7
dnicoara
https://codereview.chromium.org/1060433002/diff/1/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/1060433002/diff/1/content/common/gpu/media/rendering_helper.cc#newcode481 content/common/gpu/media/rendering_helper.cc:481: if (!is_headless_ && vsync_provider && frame_duration_ != base::TimeDelta()) On ...
5 years, 8 months ago (2015-04-15 13:58:06 UTC) #8
dnicoara
Pawel, would you mind taking a look for owners review?
5 years, 8 months ago (2015-04-16 14:02:52 UTC) #9
Pawel Osciak
https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode246 content/common/gpu/media/rendering_helper.cc:246: is_headless_ = true; This is confusing, since only on ...
5 years, 8 months ago (2015-04-17 00:33:25 UTC) #10
dnicoara
https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode246 content/common/gpu/media/rendering_helper.cc:246: is_headless_ = true; On 2015/04/17 00:33:25, Pawel Osciak wrote: ...
5 years, 8 months ago (2015-04-17 14:45:20 UTC) #11
Pawel Osciak
https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode246 content/common/gpu/media/rendering_helper.cc:246: is_headless_ = true; On 2015/04/17 14:45:20, dnicoara wrote: > ...
5 years, 8 months ago (2015-04-21 01:39:49 UTC) #12
dnicoara
https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode246 content/common/gpu/media/rendering_helper.cc:246: is_headless_ = true; On 2015/04/21 01:39:49, Pawel Osciak wrote: ...
5 years, 8 months ago (2015-04-21 14:21:31 UTC) #13
Pawel Osciak
On 2015/04/21 14:21:31, dnicoara wrote: > https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc > File content/common/gpu/media/rendering_helper.cc (right): > > https://codereview.chromium.org/1060433002/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode246 > ...
5 years, 8 months ago (2015-04-22 09:06:53 UTC) #14
dnicoara
On 2015/04/22 09:06:53, Pawel Osciak wrote: > On 2015/04/21 14:21:31, dnicoara wrote: > > > ...
5 years, 8 months ago (2015-04-22 14:02:26 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1060433002/60001
5 years, 8 months ago (2015-04-22 14:04:01 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-22 14:53:44 UTC) #20
Pawel Osciak
lgtm % nit https://chromiumcodereview.appspot.com/1060433002/diff/60001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://chromiumcodereview.appspot.com/1060433002/diff/60001/content/common/gpu/media/rendering_helper.cc#newcode244 content/common/gpu/media/rendering_helper.cc:244: // Assume headless mode by default. ...
5 years, 8 months ago (2015-04-24 01:08:56 UTC) #21
dnicoara
https://chromiumcodereview.appspot.com/1060433002/diff/60001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://chromiumcodereview.appspot.com/1060433002/diff/60001/content/common/gpu/media/rendering_helper.cc#newcode244 content/common/gpu/media/rendering_helper.cc:244: // Assume headless mode by default. On ChromeOS this ...
5 years, 8 months ago (2015-04-24 13:21:12 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1060433002/80001
5 years, 8 months ago (2015-04-24 13:21:36 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-04-24 13:52:14 UTC) #26
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 13:52:58 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/42d7f4ea43b42a3bc1405a2b9561e15b3fb37d77
Cr-Commit-Position: refs/heads/master@{#326786}

Powered by Google App Engine
This is Rietveld 408576698