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

Issue 390213002: Pepper: Change PPB_VideoDecoder::Reset behavior so plugin always manages textures. (Closed)

Created:
6 years, 5 months ago by bbudge
Modified:
6 years, 5 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, jam, raymes+watch_chromium.org, teravest+watch_chromium.org, darin-cc_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Pepper: Change PPB_VideoDecoder::Reset behavior so plugin always manages textures. Reset now will allow plugin to call RecyclePicture. The plugin must recycle any texture it receives now. This makes plugin code simpler, since it can treat all textures it receives in the same way (no special Reset handling). Also fix a bug where Reset didn't return textures to the hardware decoder, which already has this behavior. BUG=281689 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283483

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -36 lines) Patch
M content/renderer/pepper/pepper_video_decoder_host.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/pepper/video_decoder_shim.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M native_client_sdk/src/examples/api/video_decode/video_decode.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ppapi/api/ppb_video_decoder.idl View 2 chunks +6 lines, -5 lines 0 comments Download
M ppapi/c/ppb_video_decoder.h View 3 chunks +7 lines, -6 lines 0 comments Download
M ppapi/cpp/video_decoder.h View 2 chunks +6 lines, -5 lines 0 comments Download
M ppapi/examples/video_decode/video_decode.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M ppapi/proxy/video_decoder_resource.cc View 1 2 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
igorc
https://codereview.chromium.org/390213002/diff/20001/ppapi/proxy/video_decoder_resource.cc File ppapi/proxy/video_decoder_resource.cc (right): https://codereview.chromium.org/390213002/diff/20001/ppapi/proxy/video_decoder_resource.cc#newcode263 ppapi/proxy/video_decoder_resource.cc:263: if (reset_callback_) Should we now allow recycle during reset? ...
6 years, 5 months ago (2014-07-14 23:07:07 UTC) #1
igorc
https://codereview.chromium.org/390213002/diff/20001/ppapi/proxy/video_decoder_resource.cc File ppapi/proxy/video_decoder_resource.cc (right): https://codereview.chromium.org/390213002/diff/20001/ppapi/proxy/video_decoder_resource.cc#newcode152 ppapi/proxy/video_decoder_resource.cc:152: DCHECK(!available_shm_buffers_.empty() || Perhaps we could change this to be ...
6 years, 5 months ago (2014-07-14 23:16:43 UTC) #2
bbudge
https://codereview.chromium.org/390213002/diff/20001/ppapi/proxy/video_decoder_resource.cc File ppapi/proxy/video_decoder_resource.cc (right): https://codereview.chromium.org/390213002/diff/20001/ppapi/proxy/video_decoder_resource.cc#newcode152 ppapi/proxy/video_decoder_resource.cc:152: DCHECK(!available_shm_buffers_.empty() || On 2014/07/14 23:16:42, igorc wrote: > Perhaps ...
6 years, 5 months ago (2014-07-15 15:58:08 UTC) #3
bbudge
+binji for nacl sdk.
6 years, 5 months ago (2014-07-15 15:58:34 UTC) #4
binji
native_client_sdk lgtm
6 years, 5 months ago (2014-07-15 17:56:50 UTC) #5
dmichael (off chromium)
lgtm
6 years, 5 months ago (2014-07-15 20:46:51 UTC) #6
bbudge
The CQ bit was checked by bbudge@chromium.org
6 years, 5 months ago (2014-07-16 01:12:33 UTC) #7
bbudge
The CQ bit was unchecked by bbudge@chromium.org
6 years, 5 months ago (2014-07-16 01:12:34 UTC) #8
bbudge
The CQ bit was checked by bbudge@chromium.org
6 years, 5 months ago (2014-07-16 01:12:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/390213002/60001
6 years, 5 months ago (2014-07-16 01:15:02 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 20:24:04 UTC) #11
Message was sent while issue was closed.
Change committed as 283483

Powered by Google App Engine
This is Rietveld 408576698