OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
6 // | 6 // |
7 // Automatically generated code. See srpcgen.py | 7 // Automatically generated code. See srpcgen.py |
8 // | 8 // |
9 // NaCl Simple Remote Procedure Call interface abstractions. | 9 // NaCl Simple Remote Procedure Call interface abstractions. |
10 | 10 |
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1428 share_context, | 1428 share_context, |
1429 attrib_list_bytes, attrib_list, | 1429 attrib_list_bytes, attrib_list, |
1430 resource_id | 1430 resource_id |
1431 ); | 1431 ); |
1432 return retval; | 1432 return retval; |
1433 } | 1433 } |
1434 | 1434 |
1435 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_InitCommandBuffer( | 1435 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_InitCommandBuffer( |
1436 NaClSrpcChannel* channel, | 1436 NaClSrpcChannel* channel, |
1437 PP_Resource resource_id, | 1437 PP_Resource resource_id, |
| 1438 int32_t size, |
1438 int32_t* success) { | 1439 int32_t* success) { |
1439 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 1440 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
1440 ("%s: PPAPI calls are not supported off the main thread\n", | 1441 ("%s: PPAPI calls are not supported off the main thread\n", |
1441 __FUNCTION__)); | 1442 __FUNCTION__)); |
1442 NaClSrpcError retval; | 1443 NaClSrpcError retval; |
1443 retval = NaClSrpcInvokeBySignature( | 1444 retval = NaClSrpcInvokeBySignature( |
1444 channel, | 1445 channel, |
1445 "PPB_Graphics3DTrusted_InitCommandBuffer:i:i", | 1446 "PPB_Graphics3DTrusted_InitCommandBuffer:ii:i", |
1446 resource_id, | 1447 resource_id, |
| 1448 size, |
1447 success | 1449 success |
1448 ); | 1450 ); |
1449 return retval; | 1451 return retval; |
1450 } | 1452 } |
1451 | 1453 |
1452 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_SetGetBuffer( | 1454 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetRingBuffer( |
1453 NaClSrpcChannel* channel, | 1455 NaClSrpcChannel* channel, |
1454 PP_Resource resource_id, | 1456 PP_Resource resource_id, |
1455 int32_t transfer_buffer_id) { | 1457 NaClSrpcImcDescType* shm_desc, |
| 1458 int32_t* shm_size) { |
1456 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 1459 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
1457 ("%s: PPAPI calls are not supported off the main thread\n", | 1460 ("%s: PPAPI calls are not supported off the main thread\n", |
1458 __FUNCTION__)); | 1461 __FUNCTION__)); |
1459 NaClSrpcError retval; | 1462 NaClSrpcError retval; |
1460 retval = NaClSrpcInvokeBySignature( | 1463 retval = NaClSrpcInvokeBySignature( |
1461 channel, | 1464 channel, |
1462 "PPB_Graphics3DTrusted_SetGetBuffer:ii:", | 1465 "PPB_Graphics3DTrusted_GetRingBuffer:i:hi", |
1463 resource_id, | 1466 resource_id, |
1464 transfer_buffer_id | 1467 shm_desc, |
| 1468 shm_size |
1465 ); | 1469 ); |
1466 return retval; | 1470 return retval; |
1467 } | 1471 } |
1468 | 1472 |
1469 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetState( | 1473 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetState( |
1470 NaClSrpcChannel* channel, | 1474 NaClSrpcChannel* channel, |
1471 PP_Resource resource_id, | 1475 PP_Resource resource_id, |
1472 nacl_abi_size_t* state_bytes, char* state) { | 1476 nacl_abi_size_t* state_bytes, char* state) { |
1473 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 1477 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
1474 ("%s: PPAPI calls are not supported off the main thread\n", | 1478 ("%s: PPAPI calls are not supported off the main thread\n", |
(...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3155 channel, | 3159 channel, |
3156 "PPB_Zoom_ZoomLimitsChanged:idd:", | 3160 "PPB_Zoom_ZoomLimitsChanged:idd:", |
3157 instance, | 3161 instance, |
3158 minimum_factor, | 3162 minimum_factor, |
3159 maximum_factor | 3163 maximum_factor |
3160 ); | 3164 ); |
3161 return retval; | 3165 return retval; |
3162 } | 3166 } |
3163 | 3167 |
3164 | 3168 |
OLD | NEW |