| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // 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 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 int32_t* pp_error); | 513 int32_t* pp_error); |
| 514 | 514 |
| 515 private: | 515 private: |
| 516 PpbGraphics2DRpcServer(); | 516 PpbGraphics2DRpcServer(); |
| 517 PpbGraphics2DRpcServer(const PpbGraphics2DRpcServer&); | 517 PpbGraphics2DRpcServer(const PpbGraphics2DRpcServer&); |
| 518 void operator=(const PpbGraphics2DRpcServer); | 518 void operator=(const PpbGraphics2DRpcServer); |
| 519 }; // class PpbGraphics2DRpcServer | 519 }; // class PpbGraphics2DRpcServer |
| 520 | 520 |
| 521 class PpbGraphics3DRpcServer { | 521 class PpbGraphics3DRpcServer { |
| 522 public: | 522 public: |
| 523 static void PPB_Graphics3D_Create( |
| 524 NaClSrpcRpc* rpc, |
| 525 NaClSrpcClosure* done, |
| 526 PP_Instance instance, |
| 527 PP_Resource share_context, |
| 528 nacl_abi_size_t attrib_list_bytes, int32_t* attrib_list, |
| 529 PP_Resource* resource_id); |
| 530 static void PPB_Graphics3D_GetAttribs( |
| 531 NaClSrpcRpc* rpc, |
| 532 NaClSrpcClosure* done, |
| 533 PP_Resource context, |
| 534 nacl_abi_size_t input_attrib_list_bytes, int32_t* input_attrib_list, |
| 535 nacl_abi_size_t* output_attrib_list_bytes, int32_t* output_attrib_list, |
| 536 int32_t* pp_error); |
| 537 static void PPB_Graphics3D_SetAttribs( |
| 538 NaClSrpcRpc* rpc, |
| 539 NaClSrpcClosure* done, |
| 540 PP_Resource context, |
| 541 nacl_abi_size_t attrib_list_bytes, int32_t* attrib_list, |
| 542 int32_t* pp_error); |
| 543 static void PPB_Graphics3D_ResizeBuffers( |
| 544 NaClSrpcRpc* rpc, |
| 545 NaClSrpcClosure* done, |
| 546 PP_Resource context, |
| 547 int32_t width, |
| 548 int32_t height, |
| 549 int32_t* pp_error); |
| 550 static void PPB_Graphics3D_SwapBuffers( |
| 551 NaClSrpcRpc* rpc, |
| 552 NaClSrpcClosure* done, |
| 553 PP_Resource context, |
| 554 int32_t callback_id, |
| 555 int32_t* pp_error); |
| 556 static void PPB_Graphics3DTrusted_CreateRaw( |
| 557 NaClSrpcRpc* rpc, |
| 558 NaClSrpcClosure* done, |
| 559 PP_Instance instance, |
| 560 PP_Resource share_context, |
| 561 nacl_abi_size_t attrib_list_bytes, int32_t* attrib_list, |
| 562 PP_Resource* resource_id); |
| 563 static void PPB_Graphics3DTrusted_InitCommandBuffer( |
| 564 NaClSrpcRpc* rpc, |
| 565 NaClSrpcClosure* done, |
| 566 PP_Resource resource_id, |
| 567 int32_t size, |
| 568 int32_t* success); |
| 569 static void PPB_Graphics3DTrusted_GetRingBuffer( |
| 570 NaClSrpcRpc* rpc, |
| 571 NaClSrpcClosure* done, |
| 572 PP_Resource resource_id, |
| 573 NaClSrpcImcDescType* shm_desc, |
| 574 int32_t* shm_size); |
| 575 static void PPB_Graphics3DTrusted_GetState( |
| 576 NaClSrpcRpc* rpc, |
| 577 NaClSrpcClosure* done, |
| 578 PP_Resource resource_id, |
| 579 nacl_abi_size_t* state_bytes, char* state); |
| 580 static void PPB_Graphics3DTrusted_Flush( |
| 581 NaClSrpcRpc* rpc, |
| 582 NaClSrpcClosure* done, |
| 583 PP_Resource resource_id, |
| 584 int32_t put_offset); |
| 585 static void PPB_Graphics3DTrusted_FlushSync( |
| 586 NaClSrpcRpc* rpc, |
| 587 NaClSrpcClosure* done, |
| 588 PP_Resource resource_id, |
| 589 int32_t put_offset, |
| 590 nacl_abi_size_t* state_bytes, char* state); |
| 591 static void PPB_Graphics3DTrusted_CreateTransferBuffer( |
| 592 NaClSrpcRpc* rpc, |
| 593 NaClSrpcClosure* done, |
| 594 PP_Resource resource_id, |
| 595 int32_t size, |
| 596 int32_t request_id, |
| 597 int32_t* id); |
| 598 static void PPB_Graphics3DTrusted_DestroyTransferBuffer( |
| 599 NaClSrpcRpc* rpc, |
| 600 NaClSrpcClosure* done, |
| 601 PP_Resource resource_id, |
| 602 int32_t id); |
| 603 static void PPB_Graphics3DTrusted_GetTransferBuffer( |
| 604 NaClSrpcRpc* rpc, |
| 605 NaClSrpcClosure* done, |
| 606 PP_Resource resource_id, |
| 607 int32_t id, |
| 608 NaClSrpcImcDescType* shm_desc, |
| 609 int32_t* shm_size); |
| 523 static void PPB_Context3D_BindSurfaces( | 610 static void PPB_Context3D_BindSurfaces( |
| 524 NaClSrpcRpc* rpc, | 611 NaClSrpcRpc* rpc, |
| 525 NaClSrpcClosure* done, | 612 NaClSrpcClosure* done, |
| 526 PP_Resource context, | 613 PP_Resource context, |
| 527 PP_Resource draw_surface, | 614 PP_Resource draw_surface, |
| 528 PP_Resource read_surface, | 615 PP_Resource read_surface, |
| 529 int32_t* error_code); | 616 int32_t* error_code); |
| 530 static void PPB_Surface3D_Create( | 617 static void PPB_Surface3D_Create( |
| 531 NaClSrpcRpc* rpc, | 618 NaClSrpcRpc* rpc, |
| 532 NaClSrpcClosure* done, | 619 NaClSrpcClosure* done, |
| (...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1084 }; // class PpbZoomRpcServer | 1171 }; // class PpbZoomRpcServer |
| 1085 | 1172 |
| 1086 class PpbRpcs { | 1173 class PpbRpcs { |
| 1087 public: | 1174 public: |
| 1088 static NaClSrpcHandlerDesc srpc_methods[]; | 1175 static NaClSrpcHandlerDesc srpc_methods[]; |
| 1089 }; // class PpbRpcs | 1176 }; // class PpbRpcs |
| 1090 | 1177 |
| 1091 | 1178 |
| 1092 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1179 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
| 1093 | 1180 |
| OLD | NEW |