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

Issue 2351293003: Relocate SurfaceTexture usage from AVDA GLImage into shared state. (Closed)

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

Description

Relocate SurfaceTexture usage from AVDA GLImage into shared state. GetTransforMatrix is only correct for the most recent call to UpdateTexImage(), which implies it should be shared among all images instead of specific to each one. As such move it over to the shared state. Once done there's no other usage of SurfaceTexture in the image, so we can also move UpdateTexImage over to the shared state to avoid comments like "must call UpdateTransformMatrix after calling UpdateTexImage... etc" BUG=646603 TEST=video still plays Committed: https://crrev.com/304de87aa03df6fbbcafeee0983a7e74cf4e56ae Cr-Commit-Position: refs/heads/master@{#423183}

Patch Set 1 : Const. #

Total comments: 4

Patch Set 2 : Add comment. #

Patch Set 3 : Unflip default matrix. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -30 lines) Patch
M media/gpu/avda_codec_image.h View 2 chunks +3 lines, -8 lines 0 comments Download
M media/gpu/avda_codec_image.cc View 9 chunks +11 lines, -20 lines 0 comments Download
M media/gpu/avda_picture_buffer_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/gpu/avda_shared_state.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M media/gpu/avda_shared_state.cc View 1 2 2 chunks +18 lines, -1 line 1 comment Download

Messages

Total messages: 20 (8 generated)
DaleCurtis
4 years, 3 months ago (2016-09-20 23:32:28 UTC) #3
liberato (no reviews please)
good idea. lgtm % nit. -fl https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc File media/gpu/avda_codec_image.cc (right): https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc#newcode225 media/gpu/avda_codec_image.cc:225: YInvertMatrix(matrix); this should ...
4 years, 3 months ago (2016-09-21 06:05:59 UTC) #4
DaleCurtis
https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc File media/gpu/avda_codec_image.cc (right): https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc#newcode225 media/gpu/avda_codec_image.cc:225: YInvertMatrix(matrix); On 2016/09/21 at 06:05:59, liberato wrote: > this ...
4 years, 3 months ago (2016-09-23 22:59:57 UTC) #5
liberato (no reviews please)
https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc File media/gpu/avda_codec_image.cc (right): https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc#newcode225 media/gpu/avda_codec_image.cc:225: YInvertMatrix(matrix); On 2016/09/23 22:59:56, DaleCurtis wrote: > On 2016/09/21 ...
4 years, 2 months ago (2016-09-27 14:32:26 UTC) #10
DaleCurtis
https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc File media/gpu/avda_codec_image.cc (right): https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc#newcode225 media/gpu/avda_codec_image.cc:225: YInvertMatrix(matrix); On 2016/09/27 at 14:32:25, liberato wrote: > On ...
4 years, 2 months ago (2016-09-27 16:58:18 UTC) #11
liberato (no reviews please)
On 2016/09/27 16:58:18, DaleCurtis wrote: > https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc > File media/gpu/avda_codec_image.cc (right): > > https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc#newcode225 > ...
4 years, 2 months ago (2016-09-27 22:50:42 UTC) #12
liberato (no reviews please)
On 2016/09/27 16:58:18, DaleCurtis wrote: > https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc > File media/gpu/avda_codec_image.cc (right): > > https://codereview.chromium.org/2351293003/diff/20001/media/gpu/avda_codec_image.cc#newcode225 > ...
4 years, 2 months ago (2016-09-27 22:50:43 UTC) #13
DaleCurtis
Done, please give it another look over and CQ if it looks good to you!
4 years, 2 months ago (2016-09-30 22:55:50 UTC) #14
liberato (no reviews please)
lgtm https://codereview.chromium.org/2351293003/diff/60001/media/gpu/avda_shared_state.cc File media/gpu/avda_shared_state.cc (right): https://codereview.chromium.org/2351293003/diff/60001/media/gpu/avda_shared_state.cc#newcode22 media/gpu/avda_shared_state.cc:22: 1, 0, 1, 0, // Default to a ...
4 years, 2 months ago (2016-10-05 15:35:17 UTC) #16
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/2351293003/60001
4 years, 2 months ago (2016-10-05 15:35:56 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-10-05 16:33:38 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 16:35:23 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/304de87aa03df6fbbcafeee0983a7e74cf4e56ae
Cr-Commit-Position: refs/heads/master@{#423183}

Powered by Google App Engine
This is Rietveld 408576698