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

Issue 1924973004: Avoid waiting on the SurfaceTexture until we need to. (Closed)

Created:
4 years, 7 months ago by DaleCurtis
Modified:
4 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, piman+watch_chromium.org, posciak+watch_chromium.org
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid waiting on the SurfaceTexture until we need to. We can let the SurfaceTexture operations complete in the background for back buffer rendering instead of waiting during frame delivery; this frees up the GPU thread for other tasks. Also reduces the wait time to be more inline with the UMA stats; some devices like the MotoX don't reliably deliver this event when the MediaCodec is underflowing. I've also seen the N7v2 drop this event every now and then. BUG=601066 TEST=no playback regressions, less waiting. Committed: https://crrev.com/501f6225e00045e88ba56d7fe9deed6850c2906c Cr-Commit-Position: refs/heads/master@{#391426}

Patch Set 1 : Check. #

Patch Set 2 : Simplify. #

Total comments: 4

Patch Set 3 : Comment cleanup! #

Total comments: 2

Patch Set 4 : Comment fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -18 lines) Patch
M media/gpu/avda_codec_image.cc View 2 chunks +16 lines, -12 lines 0 comments Download
M media/gpu/avda_shared_state.h View 1 2 3 3 chunks +28 lines, -3 lines 0 comments Download
M media/gpu/avda_shared_state.cc View 1 4 chunks +37 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
DaleCurtis
4 years, 7 months ago (2016-05-02 19:10:49 UTC) #6
watk
lgtm https://codereview.chromium.org/1924973004/diff/80001/media/gpu/avda_shared_state.h File media/gpu/avda_shared_state.h (right): https://codereview.chromium.org/1924973004/diff/80001/media/gpu/avda_shared_state.h#newcode82 media/gpu/avda_shared_state.h:82: // rendering to a SurfaceTexture; this method should ...
4 years, 7 months ago (2016-05-02 23:32:34 UTC) #7
DaleCurtis
https://codereview.chromium.org/1924973004/diff/80001/media/gpu/avda_shared_state.h File media/gpu/avda_shared_state.h (right): https://codereview.chromium.org/1924973004/diff/80001/media/gpu/avda_shared_state.h#newcode82 media/gpu/avda_shared_state.h:82: // rendering to a SurfaceTexture; this method should On ...
4 years, 7 months ago (2016-05-03 00:17:54 UTC) #8
liberato (no reviews please)
nice. lgtm. -fl https://codereview.chromium.org/1924973004/diff/100001/media/gpu/avda_shared_state.h File media/gpu/avda_shared_state.h (right): https://codereview.chromium.org/1924973004/diff/100001/media/gpu/avda_shared_state.h#newcode126 media/gpu/avda_shared_state.h:126: // there has been no last ...
4 years, 7 months ago (2016-05-03 05:49:30 UTC) #9
DaleCurtis
https://codereview.chromium.org/1924973004/diff/100001/media/gpu/avda_shared_state.h File media/gpu/avda_shared_state.h (right): https://codereview.chromium.org/1924973004/diff/100001/media/gpu/avda_shared_state.h#newcode126 media/gpu/avda_shared_state.h:126: // there has been no last call. On 2016/05/03 ...
4 years, 7 months ago (2016-05-04 00:25:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1924973004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1924973004/120001
4 years, 7 months ago (2016-05-04 01:45:36 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:120001)
4 years, 7 months ago (2016-05-04 02:43:40 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 02:44:36 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/501f6225e00045e88ba56d7fe9deed6850c2906c
Cr-Commit-Position: refs/heads/master@{#391426}

Powered by Google App Engine
This is Rietveld 408576698