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

Issue 775863005: gpu: Make GPU command decoder know right format of a GPU video texture in Win. (Closed)

Created:
6 years ago by dshwang
Modified:
6 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

gpu: Make GPU command decoder know right format of a GPU video texture in Win. DXVAVideoDecodeAccelerator slightly creates BGRA texture while GpuVideoAccelerator reports RGBA format to GPU command decoder. This CL lets GPU command decoder know BGRA format in Win. BUG=438691 Committed: https://crrev.com/5bcfb71ba1d2d3b8f94b5bdb2a19f8cdba58a928 Cr-Commit-Position: refs/heads/master@{#307444}

Patch Set 1 #

Total comments: 1

Patch Set 2 : dxva_video_decode_accelerator.cc to fetch BGRA #

Total comments: 4

Patch Set 3 : fix typo and avoid downcasting #

Total comments: 2

Patch Set 4 : Forward declaration of GLenum #

Total comments: 3

Patch Set 5 : TODO instead of FIXME #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -0 lines) Patch
M content/common/gpu/media/dxva_video_decode_accelerator.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M media/video/video_decode_accelerator.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M media/video/video_decode_accelerator.cc View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
dshwang
@kbr, could you review? I think we can remove BGRA copy hack in ANGLE after ...
6 years ago (2014-12-03 19:33:33 UTC) #2
dshwang
After this CL, https://codereview.chromium.org/744713002/ can be re-landed, because glCopyTexthreCHROMIUM don't use glCopyTexSubImage if source format ...
6 years ago (2014-12-03 20:10:39 UTC) #3
Ken Russell (switch to Gerrit)
+people from the media team for review https://codereview.chromium.org/775863005/diff/1/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/775863005/diff/1/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode380 content/common/gpu/media/gpu_video_decode_accelerator.cc:380: GLenum format ...
6 years ago (2014-12-04 01:25:18 UTC) #5
dshwang
On 2014/12/04 01:25:18, Ken Russell wrote: > +people from the media team for review Thank ...
6 years ago (2014-12-05 12:48:13 UTC) #6
scherkus (not reviewing)
Heads up I'm on vacation so earliest I'll be able to review this is Monday. ...
6 years ago (2014-12-05 16:44:11 UTC) #7
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/775863005/diff/20001/content/common/gpu/media/dxva_video_decode_accelerator.h File content/common/gpu/media/dxva_video_decode_accelerator.h (right): https://codereview.chromium.org/775863005/diff/20001/content/common/gpu/media/dxva_video_decode_accelerator.h#newcode68 content/common/gpu/media/dxva_video_decode_accelerator.h:68: unsigned GetSufaceInternalFormat() const; typo: should be GetSurfaceInternalFormat https://codereview.chromium.org/775863005/diff/20001/content/common/gpu/media/gpu_video_decode_accelerator.cc File ...
6 years ago (2014-12-05 20:53:43 UTC) #8
dshwang
Thank you for reviewing. Addressed all. https://codereview.chromium.org/775863005/diff/20001/content/common/gpu/media/dxva_video_decode_accelerator.h File content/common/gpu/media/dxva_video_decode_accelerator.h (right): https://codereview.chromium.org/775863005/diff/20001/content/common/gpu/media/dxva_video_decode_accelerator.h#newcode68 content/common/gpu/media/dxva_video_decode_accelerator.h:68: unsigned GetSufaceInternalFormat() const; ...
6 years ago (2014-12-08 13:47:28 UTC) #9
Ken Russell (switch to Gerrit)
Thanks for the cleanup - LGTM - but you'll need an OWNERS review in media/. ...
6 years ago (2014-12-08 19:52:34 UTC) #10
dshwang
On 2014/12/08 19:52:34, Ken Russell wrote: > Thanks for the cleanup - LGTM - but ...
6 years ago (2014-12-08 20:30:38 UTC) #11
scherkus (not reviewing)
lgtm w/ nits https://codereview.chromium.org/775863005/diff/60001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/775863005/diff/60001/content/common/gpu/media/gpu_video_decode_accelerator.cc#newcode399 content/common/gpu/media/gpu_video_decode_accelerator.cc:399: // FIXME: after moving to D3D11, ...
6 years ago (2014-12-08 22:51:36 UTC) #12
dshwang
On 2014/12/08 22:51:36, scherkus wrote: > lgtm w/ nits Thank you for reviewing. https://codereview.chromium.org/775863005/diff/60001/content/common/gpu/media/gpu_video_decode_accelerator.cc File ...
6 years ago (2014-12-09 09:36:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/775863005/80001
6 years ago (2014-12-09 09:36:37 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years ago (2014-12-09 10:31:47 UTC) #16
commit-bot: I haz the power
6 years ago (2014-12-09 10:32:37 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5bcfb71ba1d2d3b8f94b5bdb2a19f8cdba58a928
Cr-Commit-Position: refs/heads/master@{#307444}

Powered by Google App Engine
This is Rietveld 408576698