Index: ppapi/c/dev/pp_video_dev.h |
diff --git a/ppapi/c/dev/pp_video_dev.h b/ppapi/c/dev/pp_video_dev.h |
index d13c3e2a855908f3e650b4fa08b25d1f0071cd8e..1de90458451d1cce9c76b88389117c5189d5c622 100644 |
--- a/ppapi/c/dev/pp_video_dev.h |
+++ b/ppapi/c/dev/pp_video_dev.h |
@@ -3,7 +3,7 @@ |
* found in the LICENSE file. |
*/ |
-/* From dev/pp_video_dev.idl modified Wed Dec 14 18:08:00 2011. */ |
+/* From dev/pp_video_dev.idl modified Wed May 16 21:58:55 2012. */ |
#ifndef PPAPI_C_DEV_PP_VIDEO_DEV_H_ |
#define PPAPI_C_DEV_PP_VIDEO_DEV_H_ |
@@ -48,6 +48,19 @@ typedef enum { |
PP_VIDEODECODER_PROFILE_MAX = PP_VIDEODECODER_H264PROFILE_MULTIVIEWHIGH |
} PP_VideoDecoder_Profile; |
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_Profile, 4); |
+ |
+/** |
+ * Texture target. |
+ * |
+ * This specifies the texture targets that the decoder might request. |
+ * Note: Keep these in sync with media::VideoDecodeAccelerator::TextureTarget. |
+ */ |
+typedef enum { |
+ PP_VIDEODECODER_TEXTURE_TARGET_2D = 0, |
+ PP_VIDEODECODER_TEXTURE_TARGET_ARB = 1, |
+ PP_VIDEODECODER_TEXTURE_TARGET_MAX = PP_VIDEODECODER_TEXTURE_TARGET_ARB |
+} PP_VideoDecoder_TextureTarget_Dev; |
+PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_VideoDecoder_TextureTarget_Dev, 4); |
/** |
* @} |
*/ |