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

Issue 2437623004: Fix perf and paint issues with VRI::PaintSingleFrame. (Closed)

Created:
4 years, 2 months ago by DaleCurtis
Modified:
4 years, 1 month ago
Reviewers:
chcunningham
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix perf and paint issues with VRI::PaintSingleFrame. This prevents repeated rendering of the first frame and ensures the algorithm knows about the frame being painted so that future calls to OnLastFrameDropped() don't muck with statistics incorrectly. Results seem slightly mixed, but maybe the official perf bot will provide stronger evidence. It's a good change regardless. BUG=627172, 656231 TEST=perf tests. Committed: https://crrev.com/dee963030706f989b4fb7de973a916c02d2a2083 Cr-Commit-Position: refs/heads/master@{#427217}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -17 lines) Patch
M media/filters/video_renderer_algorithm.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M media/filters/video_renderer_algorithm.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M media/renderers/video_renderer_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M media/renderers/video_renderer_impl.cc View 1 6 chunks +15 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
DaleCurtis
4 years, 2 months ago (2016-10-20 21:43:04 UTC) #3
chcunningham
https://codereview.chromium.org/2437623004/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2437623004/diff/1/media/filters/video_renderer_algorithm.cc#newcode79 media/filters/video_renderer_algorithm.cc:79: if (!was_time_moving_ || !have_known_duration || render_interval_.is_zero()) { Can you ...
4 years, 2 months ago (2016-10-21 20:27:22 UTC) #4
DaleCurtis
https://codereview.chromium.org/2437623004/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2437623004/diff/1/media/filters/video_renderer_algorithm.cc#newcode79 media/filters/video_renderer_algorithm.cc:79: if (!was_time_moving_ || !have_known_duration || render_interval_.is_zero()) { On 2016/10/21 ...
4 years, 2 months ago (2016-10-21 21:51:17 UTC) #5
chcunningham
https://codereview.chromium.org/2437623004/diff/1/media/filters/video_renderer_algorithm.cc File media/filters/video_renderer_algorithm.cc (right): https://codereview.chromium.org/2437623004/diff/1/media/filters/video_renderer_algorithm.cc#newcode79 media/filters/video_renderer_algorithm.cc:79: if (!was_time_moving_ || !have_known_duration || render_interval_.is_zero()) { On 2016/10/21 ...
4 years, 1 month ago (2016-10-24 20:26:56 UTC) #6
DaleCurtis
On 2016/10/24 at 20:26:56, chcunningham wrote: > https://codereview.chromium.org/2437623004/diff/1/media/filters/video_renderer_algorithm.cc > File media/filters/video_renderer_algorithm.cc (right): > > https://codereview.chromium.org/2437623004/diff/1/media/filters/video_renderer_algorithm.cc#newcode79 ...
4 years, 1 month ago (2016-10-24 20:34:26 UTC) #7
chcunningham
On 2016/10/24 20:34:26, DaleCurtis wrote: > On 2016/10/24 at 20:26:56, chcunningham wrote: > > > ...
4 years, 1 month ago (2016-10-24 20:38:50 UTC) #8
chcunningham
lgtm
4 years, 1 month ago (2016-10-24 20:38:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2437623004/20001
4 years, 1 month ago (2016-10-24 23:54:03 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-25 01:31:34 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 01:34:08 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dee963030706f989b4fb7de973a916c02d2a2083
Cr-Commit-Position: refs/heads/master@{#427217}

Powered by Google App Engine
This is Rietveld 408576698