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

Unified Diff: ppapi/cpp/dev/video_decoder_client_dev.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: ppapi/cpp/dev/video_decoder_client_dev.cc
diff --git a/ppapi/cpp/dev/video_decoder_client_dev.cc b/ppapi/cpp/dev/video_decoder_client_dev.cc
index eaab575ec9013cd4e5006591d73e8dc35bc852dd..ba786752053f9658e8e849fba69210ccb823545a 100644
--- a/ppapi/cpp/dev/video_decoder_client_dev.cc
+++ b/ppapi/cpp/dev/video_decoder_client_dev.cc
@@ -21,13 +21,14 @@ const char kPPPVideoDecoderInterface[] = PPP_VIDEODECODER_DEV_INTERFACE;
void ProvidePictureBuffers(PP_Instance instance,
PP_Resource decoder,
uint32_t req_num_of_bufs,
- const PP_Size* dimensions) {
+ const PP_Size* dimensions,
+ PP_VideoDecoder_TextureTarget_Dev texture_target) {
void* object = Instance::GetPerInstanceObject(instance,
kPPPVideoDecoderInterface);
if (!object)
return;
static_cast<VideoDecoderClient_Dev*>(object)->ProvidePictureBuffers(
- decoder, req_num_of_bufs, *dimensions);
+ decoder, req_num_of_bufs, *dimensions, texture_target);
}
void DismissPictureBuffer(PP_Instance instance,

Powered by Google App Engine
This is Rietveld 408576698