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

Issue 590403004: rendering_helper - Schedule RenderContent() based on VSync. (Closed)

Created:
6 years, 3 months ago by Owen Lin
Modified:
6 years, 2 months ago
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@master
Project:
chromium
Visibility:
Public.

Description

rendering_helper - Schedule RenderContent() based on VSync. When we schedule the RenderContent() faster than the VSync signals. The program will be blocked at SwapBuffer() and affect the performance of both video decoding and rendering. Now we change the code to schedule the RenderContent() base on the VSync signals so that we won't be blocked at SwapBuffer(). BUG=415901 TEST=Run the vda_unittest on link and peach_pit Committed: https://crrev.com/15d0c0042f6e84a036908b3912bc97864420215f Cr-Commit-Position: refs/heads/master@{#300654}

Patch Set 1 #

Patch Set 2 : schedule base on vsync #

Total comments: 10

Patch Set 3 : address review comments #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -46 lines) Patch
M content/common/gpu/media/rendering_helper.h View 1 2 3 3 chunks +14 lines, -8 lines 0 comments Download
M content/common/gpu/media/rendering_helper.cc View 1 2 3 6 chunks +82 lines, -38 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
Owen Lin
PTAL. Thanks.
6 years, 3 months ago (2014-09-24 03:54:34 UTC) #2
Owen Lin
Hi Antoine and Daniel, I need your help again. When we try to render the ...
6 years, 2 months ago (2014-10-02 08:23:46 UTC) #4
piman
On Thu, Oct 2, 2014 at 1:23 AM, <owenlin@chromium.org> wrote: > Hi Antoine and Daniel, ...
6 years, 2 months ago (2014-10-03 03:18:19 UTC) #5
Owen Lin
Updated to use VSync. PTAL. Thanks.
6 years, 2 months ago (2014-10-16 06:01:41 UTC) #6
piman
https://codereview.chromium.org/590403004/diff/20001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/590403004/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode306 content/common/gpu/media/rendering_helper.cc:306: &RenderingHelper::UpdateVSyncParameters, base::Unretained(this), done)); Can you document why Unretained is ...
6 years, 2 months ago (2014-10-16 21:13:29 UTC) #7
Owen Lin
https://codereview.chromium.org/590403004/diff/20001/content/common/gpu/media/rendering_helper.cc File content/common/gpu/media/rendering_helper.cc (right): https://codereview.chromium.org/590403004/diff/20001/content/common/gpu/media/rendering_helper.cc#newcode306 content/common/gpu/media/rendering_helper.cc:306: &RenderingHelper::UpdateVSyncParameters, base::Unretained(this), done)); On 2014/10/16 21:13:29, piman (Very slow ...
6 years, 2 months ago (2014-10-20 08:48:42 UTC) #8
piman
lgtm
6 years, 2 months ago (2014-10-21 19:37:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/590403004/40001
6 years, 2 months ago (2014-10-22 03:55:24 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/82164) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/71818) android_aosp ...
6 years, 2 months ago (2014-10-22 03:58:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/590403004/60001
6 years, 2 months ago (2014-10-22 07:57:33 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-22 08:54:07 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-10-22 08:55:08 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/15d0c0042f6e84a036908b3912bc97864420215f
Cr-Commit-Position: refs/heads/master@{#300654}

Powered by Google App Engine
This is Rietveld 408576698