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

Issue 10392141: Plumb texture target to VideoDecodeAccelerator::Client (Closed)

Created:
8 years, 7 months ago by sail
Modified:
8 years, 6 months ago
CC:
chromium-reviews, jochen+watch-content_chromium.org, jam, apatrick_chromium, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, yzshen+watch_chromium.org, piman+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Plumb texture target to VideoDecodeAccelerator::Client Currently all VideoDecodeAccelerator::Clients use GL_TEXTURE_2D as their texture target. Unfortunately the Mac decoder only supports GL_TEXTURE_RECTANGLE_ARB texture targets. This CL allows decoders to choose which texture target they want. BUG=127414 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141258

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Patch Set 3 : address review comments/rebase #

Total comments: 1

Patch Set 4 : rebase #

Total comments: 2

Patch Set 5 : fix win build #

Patch Set 6 : fix win build #

Patch Set 7 : fix win build #

Patch Set 8 : fix win build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -74 lines) Patch
M content/common/gpu/client/gpu_video_decode_accelerator_host.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/gpu/client/gpu_video_decode_accelerator_host.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M content/common/gpu/media/mac_video_decode_accelerator.mm View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/media/omx_video_decode_accelerator.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/media/rendering_helper.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/rendering_helper_egl.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -1 line 0 comments Download
M content/common/gpu/media/rendering_helper_mac.mm View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 3 chunks +7 lines, -5 lines 0 comments Download
M content/renderer/media/pepper_platform_video_decoder_impl.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/media/pepper_platform_video_decoder_impl.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_decoder_factories.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_decoder_factories.cc View 1 3 chunks +9 lines, -9 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M media/video/video_decode_accelerator.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/api/dev/ppp_video_decoder_dev.idl View 1 3 chunks +26 lines, -1 line 0 comments Download
M ppapi/c/dev/ppp_video_decoder_dev.h View 1 6 chunks +24 lines, -5 lines 0 comments Download
M ppapi/cpp/dev/video_decoder_client_dev.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/cpp/dev/video_decoder_client_dev.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/examples/video_decode/video_decode.cc View 1 3 chunks +19 lines, -9 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppp_video_decoder_proxy.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_video_decoder_proxy.cc View 1 2 chunks +9 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppb_video_decoder_impl.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
sail
8 years, 7 months ago (2012-05-17 05:08:17 UTC) #1
Wez
IDL versioning LGTM, FWIW.
8 years, 7 months ago (2012-05-17 16:51:38 UTC) #2
Ami GONE FROM CHROMIUM
The *VDA's today are agnostic of what kind of textures they're handed, and I think ...
8 years, 7 months ago (2012-05-17 17:13:56 UTC) #3
sail
On 2012/05/17 17:13:56, Ami Fischman wrote: > The *VDA's today are agnostic of what kind ...
8 years, 7 months ago (2012-05-23 23:17:03 UTC) #4
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10392141/diff/1/content/common/gpu/media/rendering_helper.h File content/common/gpu/media/rendering_helper.h (right): https://chromiumcodereview.appspot.com/10392141/diff/1/content/common/gpu/media/rendering_helper.h#newcode43 content/common/gpu/media/rendering_helper.h:43: int texture_target, uint32 to match other GL types https://chromiumcodereview.appspot.com/10392141/diff/1/content/common/gpu/media/video_decode_accelerator_unittest.cc ...
8 years, 7 months ago (2012-05-23 23:42:33 UTC) #5
sail
http://codereview.chromium.org/10392141/diff/1/content/common/gpu/media/rendering_helper.h File content/common/gpu/media/rendering_helper.h (right): http://codereview.chromium.org/10392141/diff/1/content/common/gpu/media/rendering_helper.h#newcode43 content/common/gpu/media/rendering_helper.h:43: int texture_target, On 2012/05/23 23:42:33, Ami Fischman wrote: > ...
8 years, 6 months ago (2012-05-29 18:58:09 UTC) #6
Ami GONE FROM CHROMIUM
lgtm http://codereview.chromium.org/10392141/diff/10002/media/video/video_decode_accelerator.h File media/video/video_decode_accelerator.h (right): http://codereview.chromium.org/10392141/diff/10002/media/video/video_decode_accelerator.h#newcode104 media/video/video_decode_accelerator.h:104: const std::vector<PictureBuffer>& buffers) = 0; I wonder whether ...
8 years, 6 months ago (2012-05-29 23:32:35 UTC) #7
sail
kbr: src/content/common/gpu/ OWNERS review brettw: src/ppapi/ and src/webkit/plugins/ppapi/ OWNERS review
8 years, 6 months ago (2012-06-02 21:11:27 UTC) #8
Ken Russell (switch to Gerrit)
content/common/gpu LGTM I'm sure you know that shaders consuming these textures will have to be ...
8 years, 6 months ago (2012-06-04 20:04:57 UTC) #9
sail
On 2012/06/04 20:04:57, kbr wrote: > content/common/gpu LGTM > > I'm sure you know that ...
8 years, 6 months ago (2012-06-04 20:31:03 UTC) #10
brettw
https://chromiumcodereview.appspot.com/10392141/diff/14005/ppapi/proxy/ppp_video_decoder_proxy.cc File ppapi/proxy/ppp_video_decoder_proxy.cc (right): https://chromiumcodereview.appspot.com/10392141/diff/14005/ppapi/proxy/ppp_video_decoder_proxy.cc#newcode85 ppapi/proxy/ppp_video_decoder_proxy.cc:85: dispatcher->local_get_interface()(PPP_VIDEODECODER_DEV_INTERFACE)); This code doesn't provide backwards compat. We may ...
8 years, 6 months ago (2012-06-04 23:42:33 UTC) #11
sail
https://chromiumcodereview.appspot.com/10392141/diff/14005/ppapi/proxy/ppp_video_decoder_proxy.cc File ppapi/proxy/ppp_video_decoder_proxy.cc (right): https://chromiumcodereview.appspot.com/10392141/diff/14005/ppapi/proxy/ppp_video_decoder_proxy.cc#newcode85 ppapi/proxy/ppp_video_decoder_proxy.cc:85: dispatcher->local_get_interface()(PPP_VIDEODECODER_DEV_INTERFACE)); On 2012/06/04 23:42:33, brettw wrote: > This code ...
8 years, 6 months ago (2012-06-04 23:49:46 UTC) #12
brettw
LGTM
8 years, 6 months ago (2012-06-05 19:35:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10392141/14005
8 years, 6 months ago (2012-06-08 13:57:09 UTC) #14
commit-bot: I haz the power
Try job failure for 10392141-14005 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-08 14:22:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10392141/27002
8 years, 6 months ago (2012-06-08 14:58:09 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10392141/28005
8 years, 6 months ago (2012-06-08 16:03:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10392141/28007
8 years, 6 months ago (2012-06-08 16:45:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sail@chromium.org/10392141/36063
8 years, 6 months ago (2012-06-08 18:06:38 UTC) #19
commit-bot: I haz the power
8 years, 6 months ago (2012-06-08 19:39:47 UTC) #20
Change committed as 141258

Powered by Google App Engine
This is Rietveld 408576698