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

Issue 2462393002: Use texture ids passed from ARC as service ids in ArcGVDA (Closed)

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

Description

Use texture ids passed from ARC as service ids in ArcGVDA The recent crrev.com/d3088b3826b4122fc534096da1f06b9383e9bdd2 reorganized how texture ids are managed in PictureBuffers, and resulted in GL texture ids passed to ArcGVDA being used as client texture ids, instead of service texture ids. Also, crrev.com/83ae56bab030686ec47692edf2243dfcd680e7a7 uses GL texture ids as both service and client ids. Make it pass an empty set of client ids instead. TEST=video playback on ARC, vdatest BUG=b/32508278 Committed: https://crrev.com/4801e0b7872b2f36dd285e02b8fb7bbc804add6c Cr-Commit-Position: refs/heads/master@{#429505}

Patch Set 1 #

Patch Set 2 : DCHECK and format fixup #

Total comments: 1

Patch Set 3 : Use empty vectors if texture ids are not available #

Patch Set 4 : Fixup DXVA #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -24 lines) Patch
M chrome/gpu/arc_gpu_video_decode_accelerator.cc View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M media/gpu/dxva_picture_buffer_win.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M media/gpu/dxva_video_decode_accelerator_win.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M media/gpu/v4l2_slice_video_decode_accelerator.cc View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M media/gpu/v4l2_video_decode_accelerator.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M media/gpu/video_decode_accelerator_unittest.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M media/video/picture.h View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
M media/video/picture.cc View 1 2 2 chunks +23 lines, -5 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
Pawel Osciak
ptal
4 years, 1 month ago (2016-11-01 07:30:22 UTC) #2
Pawel Osciak
We also have a DCHECK at https://cs.chromium.org/chromium/src/media/video/picture.cc?rcl=0&l=23, which verifies that the counts of client and ...
4 years, 1 month ago (2016-11-01 08:04:02 UTC) #5
wuchengli
I tested chrome tot. ARC playback was broken. When YouTube app played a video, chrome ...
4 years, 1 month ago (2016-11-01 08:28:27 UTC) #8
Pawel Osciak
Removed DCHECK per above explanation. +sandersd@ for OWNERS on media/video/picture.cc please. Thank you!
4 years, 1 month ago (2016-11-02 01:34:31 UTC) #10
wuchengli
https://codereview.chromium.org/2462393002/diff/20001/media/video/picture.cc File media/video/picture.cc (left): https://codereview.chromium.org/2462393002/diff/20001/media/video/picture.cc#oldcode23 media/video/picture.cc:23: DCHECK_EQ(client_texture_ids.size(), service_texture_ids.size()); Pawel and I had an offline discussion. ...
4 years, 1 month ago (2016-11-02 02:10:22 UTC) #13
Pawel Osciak
Since we'd have the mailboxes vector empty anyway, I think now that possibly the most ...
4 years, 1 month ago (2016-11-02 09:23:47 UTC) #19
wuchengli
lgtm
4 years, 1 month ago (2016-11-02 10:03:12 UTC) #20
watk
I think I agree that an empty vector is the least error prone way to ...
4 years, 1 month ago (2016-11-02 18:27:52 UTC) #23
watk
On 2016/11/02 18:27:52, watk wrote: > I think I agree that an empty vector is ...
4 years, 1 month ago (2016-11-02 18:53:00 UTC) #24
Pawel Osciak
Fixed up DXVA. jbauman@: may I ask for a review of DXVA changes please? Thanks.
4 years, 1 month ago (2016-11-03 00:02:32 UTC) #28
sandersd (OOO until July 31)
DXVA lgtm.
4 years, 1 month ago (2016-11-03 00:18:39 UTC) #30
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/2462393002/100001
4 years, 1 month ago (2016-11-03 00:26:42 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 1 month ago (2016-11-03 01:43:45 UTC) #35
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 01:45:31 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4801e0b7872b2f36dd285e02b8fb7bbc804add6c
Cr-Commit-Position: refs/heads/master@{#429505}

Powered by Google App Engine
This is Rietveld 408576698