OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 /* From private/ppb_flash.idl modified Thu Dec 06 12:27:21 2012. */ | 6 /* From private/ppb_flash.idl modified Thu Jan 31 16:23:42 2013. */ |
7 | 7 |
8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ | 8 #ifndef PPAPI_C_PRIVATE_PPB_FLASH_H_ |
9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ | 9 #define PPAPI_C_PRIVATE_PPB_FLASH_H_ |
10 | 10 |
11 #include "ppapi/c/pp_array_output.h" | 11 #include "ppapi/c/pp_array_output.h" |
12 #include "ppapi/c/pp_bool.h" | 12 #include "ppapi/c/pp_bool.h" |
13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
15 #include "ppapi/c/pp_module.h" | 15 #include "ppapi/c/pp_module.h" |
16 #include "ppapi/c/pp_point.h" | 16 #include "ppapi/c/pp_point.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 */ | 93 */ |
94 PP_FLASHSETTING_LANGUAGE = 4, | 94 PP_FLASHSETTING_LANGUAGE = 4, |
95 /** | 95 /** |
96 * Specifies the number of CPU cores that are present on the system. | 96 * Specifies the number of CPU cores that are present on the system. |
97 */ | 97 */ |
98 PP_FLASHSETTING_NUMCORES = 5, | 98 PP_FLASHSETTING_NUMCORES = 5, |
99 /** | 99 /** |
100 * Specifies restrictions on how flash should handle LSOs. The result is an | 100 * Specifies restrictions on how flash should handle LSOs. The result is an |
101 * int from <code>PP_FlashLSORestrictions</code>. | 101 * int from <code>PP_FlashLSORestrictions</code>. |
102 */ | 102 */ |
103 PP_FLASHSETTING_LSORESTRICTIONS = 6 | 103 PP_FLASHSETTING_LSORESTRICTIONS = 6, |
| 104 /** |
| 105 * Specifies if the driver is reliable enough to use Shader Model 3 commands |
| 106 * with it. |
| 107 * |
| 108 * This should only be enabled if PP_FLASHSETTING_STAGE3DENABLED is true. |
| 109 */ |
| 110 PP_FLASHSETTING_STAGE3DBASELINEENABLED = 7 |
104 } PP_FlashSetting; | 111 } PP_FlashSetting; |
105 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4); | 112 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_FlashSetting, 4); |
106 | 113 |
107 /** | 114 /** |
108 * This enum provides keys for setting breakpad crash report data. | 115 * This enum provides keys for setting breakpad crash report data. |
109 */ | 116 */ |
110 typedef enum { | 117 typedef enum { |
111 /** | 118 /** |
112 * Specifies the document URL which contains the flash instance. | 119 * Specifies the document URL which contains the flash instance. |
113 */ | 120 */ |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 int32_t (*EnumerateVideoCaptureDevices)(PP_Instance instance, | 333 int32_t (*EnumerateVideoCaptureDevices)(PP_Instance instance, |
327 PP_Resource video_capture, | 334 PP_Resource video_capture, |
328 struct PP_ArrayOutput devices); | 335 struct PP_ArrayOutput devices); |
329 }; | 336 }; |
330 /** | 337 /** |
331 * @} | 338 * @} |
332 */ | 339 */ |
333 | 340 |
334 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ | 341 #endif /* PPAPI_C_PRIVATE_PPB_FLASH_H_ */ |
335 | 342 |
OLD | NEW |