OLD | NEW |
---|---|
1 # Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2010 The Native Client 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 # This file declares the RPC methods used to implement PPB_ImageData calls from | 5 # This file declares the RPC methods used to implement PPB_ImageData calls from |
6 # the plugin. The functions are described in ppapi/c/ppb_image_data.h. | 6 # the plugin. The functions are described in ppapi/c/ppb_image_data.h. |
7 { | 7 { |
8 'name': 'PpbImageDataRpc', | 8 'name': 'PpbImageDataRpc', |
9 'rpcs': [ | 9 'rpcs': [ |
10 {'name': 'PPB_ImageData_GetNativeImageDataFormat', | 10 {'name': 'PPB_ImageData_GetNativeImageDataFormat', |
11 'inputs': [], | 11 'inputs': [], |
12 'outputs': [['format', 'int32_t'], | 12 'outputs': [['format', 'int32_t'], |
13 ] | 13 ] |
14 }, | 14 }, |
15 {'name': 'PPB_ImageData_IsImageDataFormatSupported', | 15 {'name': 'PPB_ImageData_IsImageDataFormatSupported', |
16 'inputs': [['format', 'int32_t'], | 16 'inputs': [['format', 'int32_t'], |
17 ], | 17 ], |
18 'outputs': [['success', 'int32_t'], | 18 'outputs': [['success', 'int32_t'], |
polina
2010/12/23 23:41:23
'outputs': [['success', 'PP_Bool'],
| |
19 ] | 19 ] |
20 }, | 20 }, |
21 {'name': 'PPB_ImageData_Create', | 21 {'name': 'PPB_ImageData_Create', |
22 'inputs': [['module', 'int64_t'], | 22 'inputs': [['module', 'PP_Module'], |
23 ['format', 'int32_t'], | 23 ['format', 'int32_t'], |
24 ['size', 'int32_t[]'], | 24 ['size', 'int32_t[]'], |
25 ['init_to_zero', 'int32_t'], | 25 ['init_to_zero', 'int32_t'], |
polina
2010/12/23 23:41:23
['init_to_zero', 'PP_Bool'],
| |
26 ], | 26 ], |
27 'outputs': [['resource', 'int64_t'], | 27 'outputs': [['resource', 'PP_Resource'], |
28 ] | 28 ] |
29 }, | 29 }, |
30 {'name': 'PPB_ImageData_IsImageData', | 30 {'name': 'PPB_ImageData_IsImageData', |
31 'inputs': [['resource', 'int64_t'], | 31 'inputs': [['resource', 'PP_Resource'], |
32 ], | 32 ], |
33 'outputs': [['success', 'int32_t'], | 33 'outputs': [['success', 'int32_t'], |
polina
2010/12/23 23:41:23
'outputs': [['is_imagedata', 'PP_Bool'],
| |
34 ] | 34 ] |
35 }, | 35 }, |
36 {'name': 'PPB_ImageData_Describe', | 36 {'name': 'PPB_ImageData_Describe', |
37 'inputs': [['resource', 'int64_t'], | 37 'inputs': [['resource', 'PP_Resource'], |
38 ], | 38 ], |
39 'outputs': [['desc', 'int32_t[]'], | 39 'outputs': [['desc', 'int32_t[]'], |
40 ['success', 'int32_t'], | 40 ['success', 'int32_t'], |
polina
2010/12/23 23:41:23
['success', 'PP_Bool'],
| |
41 ] | 41 ] |
42 }, | 42 }, |
43 ] | 43 ] |
44 } | 44 } |
OLD | NEW |