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

Unified Diff: webkit/plugins/ppapi/ppb_video_decoder_impl.cc

Issue 10392141: Plumb texture target to VideoDecodeAccelerator::Client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/ppb_video_decoder_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
index d49a248ebd4a1e2972a0b363ef856dc8d2d03adb..88a058f0d04084aa47716db1f8746bd2e64ef193 100644
--- a/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
+++ b/webkit/plugins/ppapi/ppb_video_decoder_impl.cc
@@ -226,13 +226,16 @@ void PPB_VideoDecoder_Impl::Destroy() {
}
void PPB_VideoDecoder_Impl::ProvidePictureBuffers(
- uint32 requested_num_of_buffers, const gfx::Size& dimensions) {
+ uint32 requested_num_of_buffers,
+ const gfx::Size& dimensions,
+ media::VideoDecodeAccelerator::TextureTarget texture_target) {
if (!ppp_videodecoder_)
return;
PP_Size out_dim = PP_MakeSize(dimensions.width(), dimensions.height());
ppp_videodecoder_->ProvidePictureBuffers(pp_instance(), pp_resource(),
- requested_num_of_buffers, &out_dim);
+ requested_num_of_buffers, &out_dim,
+ static_cast<PP_VideoDecoder_TextureTarget_Dev>(texture_target));
}
void PPB_VideoDecoder_Impl::PictureReady(const media::Picture& picture) {
« ppapi/examples/video_decode/video_decode.cc ('K') | « webkit/plugins/ppapi/ppb_video_decoder_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698