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, | |
1439 int32_t* success) { | 1438 int32_t* success) { |
1440 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 1439 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
1441 ("%s: PPAPI calls are not supported off the main thread\n", | 1440 ("%s: PPAPI calls are not supported off the main thread\n", |
1442 __FUNCTION__)); | 1441 __FUNCTION__)); |
1443 NaClSrpcError retval; | 1442 NaClSrpcError retval; |
1444 retval = NaClSrpcInvokeBySignature( | 1443 retval = NaClSrpcInvokeBySignature( |
1445 channel, | 1444 channel, |
1446 "PPB_Graphics3DTrusted_InitCommandBuffer:ii:i", | 1445 "PPB_Graphics3DTrusted_InitCommandBuffer:i:i", |
1447 resource_id, | 1446 resource_id, |
1448 size, | |
1449 success | 1447 success |
1450 ); | 1448 ); |
1451 return retval; | 1449 return retval; |
1452 } | 1450 } |
1453 | 1451 |
1454 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetRingBuffer( | 1452 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_SetGetBuffer( |
1455 NaClSrpcChannel* channel, | 1453 NaClSrpcChannel* channel, |
1456 PP_Resource resource_id, | 1454 PP_Resource resource_id, |
1457 NaClSrpcImcDescType* shm_desc, | 1455 int32_t transfer_buffer_id) { |
1458 int32_t* shm_size) { | |
1459 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 1456 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
1460 ("%s: PPAPI calls are not supported off the main thread\n", | 1457 ("%s: PPAPI calls are not supported off the main thread\n", |
1461 __FUNCTION__)); | 1458 __FUNCTION__)); |
1462 NaClSrpcError retval; | 1459 NaClSrpcError retval; |
1463 retval = NaClSrpcInvokeBySignature( | 1460 retval = NaClSrpcInvokeBySignature( |
1464 channel, | 1461 channel, |
1465 "PPB_Graphics3DTrusted_GetRingBuffer:i:hi", | 1462 "PPB_Graphics3DTrusted_SetGetBuffer:ii:", |
1466 resource_id, | 1463 resource_id, |
1467 shm_desc, | 1464 transfer_buffer_id |
1468 shm_size | |
1469 ); | 1465 ); |
1470 return retval; | 1466 return retval; |
1471 } | 1467 } |
1472 | 1468 |
1473 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetState( | 1469 NaClSrpcError PpbGraphics3DRpcClient::PPB_Graphics3DTrusted_GetState( |
1474 NaClSrpcChannel* channel, | 1470 NaClSrpcChannel* channel, |
1475 PP_Resource resource_id, | 1471 PP_Resource resource_id, |
1476 nacl_abi_size_t* state_bytes, char* state) { | 1472 nacl_abi_size_t* state_bytes, char* state) { |
1477 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), | 1473 VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(), |
1478 ("%s: PPAPI calls are not supported off the main thread\n", | 1474 ("%s: PPAPI calls are not supported off the main thread\n", |
(...skipping 1680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3159 channel, | 3155 channel, |
3160 "PPB_Zoom_ZoomLimitsChanged:idd:", | 3156 "PPB_Zoom_ZoomLimitsChanged:idd:", |
3161 instance, | 3157 instance, |
3162 minimum_factor, | 3158 minimum_factor, |
3163 maximum_factor | 3159 maximum_factor |
3164 ); | 3160 ); |
3165 return retval; | 3161 return retval; |
3166 } | 3162 } |
3167 | 3163 |
3168 | 3164 |
OLD | NEW |