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

Unified Diff: ppapi/api/dev/pp_video_dev.idl

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/api/dev/pp_video_dev.idl
diff --git a/ppapi/api/dev/pp_video_dev.idl b/ppapi/api/dev/pp_video_dev.idl
index 60f0f51113b725fa443dcc23ef9978ee098c4f32..9da8aab809a51e742f70670f1b1d9fe3760a289a 100644
--- a/ppapi/api/dev/pp_video_dev.idl
+++ b/ppapi/api/dev/pp_video_dev.idl
@@ -35,6 +35,19 @@ enum PP_VideoDecoder_Profile {
};
/**
+ * Texture target.
+ *
+ * This specifies the texture targets that the decoder might request.
+ * Note: Keep these in sync with media::VideoDecodeAccelerator::TextureTarget.
+ */
+[assert_size(4)]
+enum PP_VideoDecoder_TextureTarget_Dev {
+ PP_VIDEODECODER_TEXTURE_TARGET_2D = 0,
+ PP_VIDEODECODER_TEXTURE_TARGET_ARB = 1,
+ PP_VIDEODECODER_TEXTURE_TARGET_MAX = PP_VIDEODECODER_TEXTURE_TARGET_ARB
+};
+
+/**
* The data structure for video bitstream buffer.
*/
[assert_size(12)]

Powered by Google App Engine
This is Rietveld 408576698