| 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 int32_t* pp_error); | 448 int32_t* pp_error); |
| 449 | 449 |
| 450 private: | 450 private: |
| 451 PpbGraphics2DRpcClient(); | 451 PpbGraphics2DRpcClient(); |
| 452 PpbGraphics2DRpcClient(const PpbGraphics2DRpcClient&); | 452 PpbGraphics2DRpcClient(const PpbGraphics2DRpcClient&); |
| 453 void operator=(const PpbGraphics2DRpcClient); | 453 void operator=(const PpbGraphics2DRpcClient); |
| 454 }; // class PpbGraphics2DRpcClient | 454 }; // class PpbGraphics2DRpcClient |
| 455 | 455 |
| 456 class PpbGraphics3DRpcClient { | 456 class PpbGraphics3DRpcClient { |
| 457 public: | 457 public: |
| 458 static NaClSrpcError PPB_Graphics3D_Create( |
| 459 NaClSrpcChannel* channel, |
| 460 PP_Instance instance, |
| 461 PP_Resource share_context, |
| 462 nacl_abi_size_t attrib_list_bytes, int32_t* attrib_list, |
| 463 PP_Resource* resource_id); |
| 464 static NaClSrpcError PPB_Graphics3D_GetAttribs( |
| 465 NaClSrpcChannel* channel, |
| 466 PP_Resource context, |
| 467 nacl_abi_size_t input_attrib_list_bytes, int32_t* input_attrib_list, |
| 468 nacl_abi_size_t* output_attrib_list_bytes, int32_t* output_attrib_list, |
| 469 int32_t* pp_error); |
| 470 static NaClSrpcError PPB_Graphics3D_SetAttribs( |
| 471 NaClSrpcChannel* channel, |
| 472 PP_Resource context, |
| 473 nacl_abi_size_t attrib_list_bytes, int32_t* attrib_list, |
| 474 int32_t* pp_error); |
| 475 static NaClSrpcError PPB_Graphics3D_ResizeBuffers( |
| 476 NaClSrpcChannel* channel, |
| 477 PP_Resource context, |
| 478 int32_t width, |
| 479 int32_t height, |
| 480 int32_t* pp_error); |
| 481 static NaClSrpcError PPB_Graphics3D_SwapBuffers( |
| 482 NaClSrpcChannel* channel, |
| 483 PP_Resource context, |
| 484 int32_t callback_id, |
| 485 int32_t* pp_error); |
| 486 static NaClSrpcError PPB_Graphics3DTrusted_CreateRaw( |
| 487 NaClSrpcChannel* channel, |
| 488 PP_Instance instance, |
| 489 PP_Resource share_context, |
| 490 nacl_abi_size_t attrib_list_bytes, int32_t* attrib_list, |
| 491 PP_Resource* resource_id); |
| 492 static NaClSrpcError PPB_Graphics3DTrusted_InitCommandBuffer( |
| 493 NaClSrpcChannel* channel, |
| 494 PP_Resource resource_id, |
| 495 int32_t size, |
| 496 int32_t* success); |
| 497 static NaClSrpcError PPB_Graphics3DTrusted_GetRingBuffer( |
| 498 NaClSrpcChannel* channel, |
| 499 PP_Resource resource_id, |
| 500 NaClSrpcImcDescType* shm_desc, |
| 501 int32_t* shm_size); |
| 502 static NaClSrpcError PPB_Graphics3DTrusted_GetState( |
| 503 NaClSrpcChannel* channel, |
| 504 PP_Resource resource_id, |
| 505 nacl_abi_size_t* state_bytes, char* state); |
| 506 static NaClSrpcError PPB_Graphics3DTrusted_Flush( |
| 507 NaClSrpcChannel* channel, |
| 508 PP_Resource resource_id, |
| 509 int32_t put_offset); |
| 510 static NaClSrpcError PPB_Graphics3DTrusted_FlushSync( |
| 511 NaClSrpcChannel* channel, |
| 512 PP_Resource resource_id, |
| 513 int32_t put_offset, |
| 514 nacl_abi_size_t* state_bytes, char* state); |
| 515 static NaClSrpcError PPB_Graphics3DTrusted_CreateTransferBuffer( |
| 516 NaClSrpcChannel* channel, |
| 517 PP_Resource resource_id, |
| 518 int32_t size, |
| 519 int32_t request_id, |
| 520 int32_t* id); |
| 521 static NaClSrpcError PPB_Graphics3DTrusted_DestroyTransferBuffer( |
| 522 NaClSrpcChannel* channel, |
| 523 PP_Resource resource_id, |
| 524 int32_t id); |
| 525 static NaClSrpcError PPB_Graphics3DTrusted_GetTransferBuffer( |
| 526 NaClSrpcChannel* channel, |
| 527 PP_Resource resource_id, |
| 528 int32_t id, |
| 529 NaClSrpcImcDescType* shm_desc, |
| 530 int32_t* shm_size); |
| 458 static NaClSrpcError PPB_Context3D_BindSurfaces( | 531 static NaClSrpcError PPB_Context3D_BindSurfaces( |
| 459 NaClSrpcChannel* channel, | 532 NaClSrpcChannel* channel, |
| 460 PP_Resource context, | 533 PP_Resource context, |
| 461 PP_Resource draw_surface, | 534 PP_Resource draw_surface, |
| 462 PP_Resource read_surface, | 535 PP_Resource read_surface, |
| 463 int32_t* error_code); | 536 int32_t* error_code); |
| 464 static NaClSrpcError PPB_Surface3D_Create( | 537 static NaClSrpcError PPB_Surface3D_Create( |
| 465 NaClSrpcChannel* channel, | 538 NaClSrpcChannel* channel, |
| 466 PP_Instance instance, | 539 PP_Instance instance, |
| 467 int32_t config, | 540 int32_t config, |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 941 PpbZoomRpcClient(); | 1014 PpbZoomRpcClient(); |
| 942 PpbZoomRpcClient(const PpbZoomRpcClient&); | 1015 PpbZoomRpcClient(const PpbZoomRpcClient&); |
| 943 void operator=(const PpbZoomRpcClient); | 1016 void operator=(const PpbZoomRpcClient); |
| 944 }; // class PpbZoomRpcClient | 1017 }; // class PpbZoomRpcClient |
| 945 | 1018 |
| 946 | 1019 |
| 947 | 1020 |
| 948 | 1021 |
| 949 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ | 1022 #endif // GEN_PPAPI_PROXY_PPB_RPC_H_ |
| 950 | 1023 |
| OLD | NEW |