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

Issue 1910063005: Store AVDACodecImage list in shared state, cleanup callers. (Closed)

Created:
4 years, 8 months ago by DaleCurtis
Modified:
4 years, 8 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:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store AVDACodecImage list in shared state, cleanup callers. Going through the texture manager every time we want to look up an AVDACodecImage is a bit onerous, instead track these within the shared state and clear them when images are destructed. This allows a couple simplificiations and cleanups and paves the way for higher frequency calls. BUG=601066 TEST=manual playback tests. Committed: https://crrev.com/afa23676f6212a865eeda6c180849e323c020c06 Cr-Commit-Position: refs/heads/master@{#389034}

Patch Set 1 : It lives! #

Total comments: 6

Patch Set 2 : Cleanup. #

Patch Set 3 : Fix comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -55 lines) Patch
M content/common/gpu/media/android_copying_backing_strategy.h View 1 chunk +1 line, -3 lines 0 comments Download
M content/common/gpu/media/android_copying_backing_strategy.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/common/gpu/media/android_deferred_rendering_backing_strategy.h View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M content/common/gpu/media/android_deferred_rendering_backing_strategy.cc View 1 6 chunks +8 lines, -24 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.h View 1 chunk +1 line, -4 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/common/gpu/media/avda_codec_image.h View 1 4 chunks +10 lines, -7 lines 0 comments Download
M content/common/gpu/media/avda_codec_image.cc View 1 3 chunks +9 lines, -3 lines 0 comments Download
M content/common/gpu/media/avda_shared_state.h View 1 4 chunks +23 lines, -4 lines 0 comments Download
M content/common/gpu/media/avda_shared_state.cc View 1 2 chunks +24 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (12 generated)
DaleCurtis
WDYT?
4 years, 8 months ago (2016-04-21 19:29:19 UTC) #4
watk
I don't see why not, lgtm https://codereview.chromium.org/1910063005/diff/40001/content/common/gpu/media/avda_codec_image.cc File content/common/gpu/media/avda_codec_image.cc (right): https://codereview.chromium.org/1910063005/diff/40001/content/common/gpu/media/avda_codec_image.cc#newcode179 content/common/gpu/media/avda_codec_image.cc:179: codec_buffer_index_ = -1; ...
4 years, 8 months ago (2016-04-21 20:45:01 UTC) #5
liberato (no reviews please)
lgtm. https://codereview.chromium.org/1910063005/diff/40001/content/common/gpu/media/android_deferred_rendering_backing_strategy.cc File content/common/gpu/media/android_deferred_rendering_backing_strategy.cc (right): https://codereview.chromium.org/1910063005/diff/40001/content/common/gpu/media/android_deferred_rendering_backing_strategy.cc#newcode196 content/common/gpu/media/android_deferred_rendering_backing_strategy.cc:196: shared_state_->SetImageForPicture( perhaps pass in the picture buffer id ...
4 years, 8 months ago (2016-04-21 23:39:54 UTC) #6
DaleCurtis
Will rebase and land after timav@'s flush CL lands. https://codereview.chromium.org/1910063005/diff/40001/content/common/gpu/media/android_deferred_rendering_backing_strategy.cc File content/common/gpu/media/android_deferred_rendering_backing_strategy.cc (right): https://codereview.chromium.org/1910063005/diff/40001/content/common/gpu/media/android_deferred_rendering_backing_strategy.cc#newcode196 content/common/gpu/media/android_deferred_rendering_backing_strategy.cc:196: ...
4 years, 8 months ago (2016-04-22 00:11:21 UTC) #8
DaleCurtis
Actually timav@'s CL needs some test fixes, so going ahead.
4 years, 8 months ago (2016-04-22 00:31:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910063005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910063005/80001
4 years, 8 months ago (2016-04-22 00:32:15 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/217017)
4 years, 8 months ago (2016-04-22 01:28:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910063005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910063005/80001
4 years, 8 months ago (2016-04-22 01:35:00 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/217065)
4 years, 8 months ago (2016-04-22 02:35:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1910063005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1910063005/80001
4 years, 8 months ago (2016-04-22 04:14:59 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 8 months ago (2016-04-22 04:58:35 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:44:35 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/afa23676f6212a865eeda6c180849e323c020c06
Cr-Commit-Position: refs/heads/master@{#389034}

Powered by Google App Engine
This is Rietveld 408576698