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

Issue 2711903002: Set the type of hardware decoded texture to UNSIGNED_BYTE (Closed)

Created:
3 years, 10 months ago by qiankun
Modified:
3 years, 9 months ago
CC:
chromium-reviews, dshwang, feature-media-reviews_chromium.org, jbauman, piman+watch_chromium.org, posciak+watch_chromium.org, reveman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set the type of hardware decoded texture to UNSIGNED_BYTE We need type info when copying video texture to another texture. 0 is not a valid texture type. 0 type causes DoCopySubTextureCHROMIUM to fail. Format/internalformat info was added in the following two CLs: https://codereview.chromium.org/775863005 https://codereview.chromium.org/759573002 BUG=612542 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2711903002 Cr-Commit-Position: refs/heads/master@{#457338} Committed: https://chromium.googlesource.com/chromium/src/+/5c0ad74ee97e52704cd1516ceecfb1873b0b5884

Patch Set 1 #

Total comments: 2

Patch Set 2 : add DCHECK #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M media/gpu/ipc/service/gpu_video_decode_accelerator.cc View 1 2 chunks +4 lines, -3 lines 1 comment Download

Messages

Total messages: 43 (26 generated)
qiankun
Hi, reviewers When I did Copy{Sub}TextureCHROMIUM from video texture to another texture, I found type ...
3 years, 10 months ago (2017-02-23 09:28:19 UTC) #5
Ken Russell (switch to Gerrit)
It's a good question. I think these are actually YUV textures on platforms that support ...
3 years, 10 months ago (2017-02-24 01:06:29 UTC) #11
wuchengli
I'm not familiar with the code. Removing myself from the reviewer.
3 years, 9 months ago (2017-03-01 08:18:42 UTC) #12
Ken Russell (switch to Gerrit)
Qiankun, what tests pass with this CL applied, or conversely, fail if it is not ...
3 years, 9 months ago (2017-03-01 19:31:59 UTC) #14
qiankun
On 2017/03/01 19:31:59, Ken Russell wrote: > Qiankun, what tests pass with this CL applied, ...
3 years, 9 months ago (2017-03-02 01:51:17 UTC) #15
Ken Russell (switch to Gerrit)
CC'ing OWNERS. Will follow up with another comment. https://codereview.chromium.org/2711903002/diff/1/media/gpu/ipc/service/gpu_video_decode_accelerator.cc File media/gpu/ipc/service/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/2711903002/diff/1/media/gpu/ipc/service/gpu_video_decode_accelerator.cc#newcode453 media/gpu/ipc/service/gpu_video_decode_accelerator.cc:453: GL_RGBA, ...
3 years, 9 months ago (2017-03-02 02:38:48 UTC) #17
Ken Russell (switch to Gerrit)
On 2017/03/02 01:51:17, qiankun wrote: > On 2017/03/01 19:31:59, Ken Russell wrote: > > Qiankun, ...
3 years, 9 months ago (2017-03-02 02:40:13 UTC) #18
aleksandar.stojiljkovic
On 2017/03/02 02:40:13, Ken Russell wrote: > On 2017/03/02 01:51:17, qiankun wrote: > > On ...
3 years, 9 months ago (2017-03-02 12:44:36 UTC) #19
DaleCurtis
=>sandersd
3 years, 9 months ago (2017-03-02 17:44:03 UTC) #21
hubbe
On 2017/03/02 12:44:36, aleksandar.stojiljkovic wrote: > On 2017/03/02 02:40:13, Ken Russell wrote: > > On ...
3 years, 9 months ago (2017-03-02 18:40:06 UTC) #22
Ken Russell (switch to Gerrit)
On 2017/03/02 18:40:06, hubbe wrote: > On 2017/03/02 12:44:36, aleksandar.stojiljkovic wrote: > > On 2017/03/02 ...
3 years, 9 months ago (2017-03-06 05:15:05 UTC) #23
Zhenyao Mo
Ping.
3 years, 9 months ago (2017-03-10 00:21:50 UTC) #24
sandersd (OOO until July 31)
As for media style and correctness, lgtm.
3 years, 9 months ago (2017-03-13 19:53:38 UTC) #25
qiankun
https://codereview.chromium.org/2711903002/diff/40001/media/gpu/ipc/service/gpu_video_decode_accelerator.cc File media/gpu/ipc/service/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/2711903002/diff/40001/media/gpu/ipc/service/gpu_video_decode_accelerator.cc#newcode470 media/gpu/ipc/service/gpu_video_decode_accelerator.cc:470: DCHECK(format == GL_BGRA_EXT); Add a DCHECK to make sure ...
3 years, 9 months ago (2017-03-14 16:13:27 UTC) #36
qiankun
On 2017/03/13 19:53:38, sandersd wrote: > As for media style and correctness, lgtm. Thanks for ...
3 years, 9 months ago (2017-03-14 16:15:11 UTC) #37
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/2711903002/40001
3 years, 9 months ago (2017-03-16 01:37:09 UTC) #40
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 03:33:49 UTC) #43
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5c0ad74ee97e52704cd1516ceecf...

Powered by Google App Engine
This is Rietveld 408576698