Index: ppapi/api/pp_codecs.idl |
diff --git a/ppapi/api/pp_codecs.idl b/ppapi/api/pp_codecs.idl |
index 423db9f7f43eaa4cb2cb9f81f5face5f12bb5d60..188fa89e0e6f3e09de22a6ad180d4902f4b8ba6a 100644 |
--- a/ppapi/api/pp_codecs.idl |
+++ b/ppapi/api/pp_codecs.idl |
@@ -24,6 +24,23 @@ enum PP_VideoProfile { |
}; |
/** |
+ * Hardware acceleration options. |
+ */ |
+enum PP_HardwareAcceleration { |
+ /** Create a hardware accelerated resource only. */ |
+ PP_HARDWAREACCELERATION_ONLY = 0, |
+ |
+ /** |
+ * Create a hardware accelerated resource if possible. Otherwise, fall back |
+ * to the software implementation. |
+ */ |
+ PP_HARDWAREACCELERATION_WITHFALLBACK = 1, |
+ |
+ /** Create the software implementation only. */ |
+ PP_HARDWAREACCELERATION_NONE = 2 |
+}; |
Tom Sepez
2014/08/22 17:13:01
nit: generally, the patter is to add here:
PP_HA
bbudge
2014/08/22 21:24:52
Done.
|
+ |
+/** |
* Struct describing a decoded video picture. The decoded picture data is stored |
* in the GL texture corresponding to |texture_id|. The plugin can determine |
* which Decode call generated the picture using |decode_id|. |