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)] |