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

Unified Diff: ppapi/proxy/video_decoder_resource.h

Issue 311853005: Implement software fallback for PPB_VideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use WeakPtr to tie VideoDecoderProxy and Delegate. Created 6 years, 6 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/proxy/video_decoder_resource.h
diff --git a/ppapi/proxy/video_decoder_resource.h b/ppapi/proxy/video_decoder_resource.h
index 19ccffb94ad41558f6ab29fa7237641a47d678ee..a466eb2774ffc991df421358943eec5fd41b7c3d 100644
--- a/ppapi/proxy/video_decoder_resource.h
+++ b/ppapi/proxy/video_decoder_resource.h
@@ -19,6 +19,7 @@
#include "ppapi/thunk/ppb_video_decoder_api.h"
namespace gpu {
+struct Mailbox;
namespace gles2 {
class GLES2Implementation;
}
@@ -107,7 +108,8 @@ class PPAPI_PROXY_EXPORT VideoDecoderResource
void OnPluginMsgRequestTextures(const ResourceMessageReplyParams& params,
uint32_t num_textures,
const PP_Size& size,
- uint32_t texture_target);
+ uint32_t texture_target,
+ const std::vector<gpu::Mailbox>& mailboxes);
void OnPluginMsgPictureReady(const ResourceMessageReplyParams& params,
int32_t decode_id,
uint32_t texture_id);

Powered by Google App Engine
This is Rietveld 408576698