| 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 // Multiply-included message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 int32_t /* config */, | 528 int32_t /* config */, |
| 529 std::vector<int32_t> /* attrib_list */, | 529 std::vector<int32_t> /* attrib_list */, |
| 530 ppapi::HostResource /* result */) | 530 ppapi::HostResource /* result */) |
| 531 | 531 |
| 532 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_BindSurfaces, | 532 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_BindSurfaces, |
| 533 ppapi::HostResource /* context */, | 533 ppapi::HostResource /* context */, |
| 534 ppapi::HostResource /* draw */, | 534 ppapi::HostResource /* draw */, |
| 535 ppapi::HostResource /* read */, | 535 ppapi::HostResource /* read */, |
| 536 int32_t /* result */) | 536 int32_t /* result */) |
| 537 | 537 |
| 538 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBContext3D_Initialize, | 538 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBContext3D_Initialize, |
| 539 ppapi::HostResource /* context */, | 539 ppapi::HostResource /* context */) |
| 540 int32 /* size */, | |
| 541 base::SharedMemoryHandle /* ring_buffer */) | |
| 542 | 540 |
| 543 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBContext3D_GetState, | 541 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBContext3D_GetState, |
| 544 ppapi::HostResource /* context */, | 542 ppapi::HostResource /* context */, |
| 545 gpu::CommandBuffer::State /* state */) | 543 gpu::CommandBuffer::State /* state */) |
| 546 | 544 |
| 545 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBContext3D_SetGetBuffer, |
| 546 ppapi::HostResource /* context */, |
| 547 int32 /* shm_id */) |
| 548 |
| 547 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Flush, | 549 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBContext3D_Flush, |
| 548 ppapi::HostResource /* context */, | 550 ppapi::HostResource /* context */, |
| 549 int32 /* put_offset */, | 551 int32 /* put_offset */, |
| 550 int32 /* last_known_get */, | 552 int32 /* last_known_get */, |
| 551 gpu::CommandBuffer::State /* state */) | 553 gpu::CommandBuffer::State /* state */) |
| 552 | 554 |
| 553 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBContext3D_AsyncFlush, | 555 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBContext3D_AsyncFlush, |
| 554 ppapi::HostResource /* context */, | 556 ppapi::HostResource /* context */, |
| 555 int32 /* put_offset */) | 557 int32 /* put_offset */) |
| 556 | 558 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 ppapi::HostResource /* image_data */) | 821 ppapi::HostResource /* image_data */) |
| 820 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, | 822 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics2D_Flush, |
| 821 ppapi::HostResource /* graphics_2d */) | 823 ppapi::HostResource /* graphics_2d */) |
| 822 | 824 |
| 823 // PPB_Graphics3D. | 825 // PPB_Graphics3D. |
| 824 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_Create, | 826 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_Create, |
| 825 PP_Instance /* instance */, | 827 PP_Instance /* instance */, |
| 826 std::vector<int32_t> /* attrib_list */, | 828 std::vector<int32_t> /* attrib_list */, |
| 827 ppapi::HostResource /* result */) | 829 ppapi::HostResource /* result */) |
| 828 | 830 |
| 829 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, | 831 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_InitCommandBuffer, |
| 832 ppapi::HostResource /* context */) |
| 833 |
| 834 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, |
| 830 ppapi::HostResource /* context */, | 835 ppapi::HostResource /* context */, |
| 831 int32 /* size */, | 836 int32 /* shm_id */) |
| 832 base::SharedMemoryHandle /* ring_buffer */) | |
| 833 | 837 |
| 834 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_GetState, | 838 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBGraphics3D_GetState, |
| 835 ppapi::HostResource /* context */, | 839 ppapi::HostResource /* context */, |
| 836 gpu::CommandBuffer::State /* state */) | 840 gpu::CommandBuffer::State /* state */) |
| 837 | 841 |
| 838 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Flush, | 842 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Flush, |
| 839 ppapi::HostResource /* context */, | 843 ppapi::HostResource /* context */, |
| 840 int32 /* put_offset */, | 844 int32 /* put_offset */, |
| 841 int32 /* last_known_get */, | 845 int32 /* last_known_get */, |
| 842 gpu::CommandBuffer::State /* state */) | 846 gpu::CommandBuffer::State /* state */) |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1125 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1129 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
| 1126 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1130 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
| 1127 ppapi::HostResource /* video_decoder */, | 1131 ppapi::HostResource /* video_decoder */, |
| 1128 int32_t /* picture buffer id */) | 1132 int32_t /* picture buffer id */) |
| 1129 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1133 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
| 1130 ppapi::HostResource /* video_decoder */) | 1134 ppapi::HostResource /* video_decoder */) |
| 1131 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1135 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
| 1132 ppapi::HostResource /* video_decoder */) | 1136 ppapi::HostResource /* video_decoder */) |
| 1133 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1137 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
| 1134 ppapi::HostResource /* video_decoder */) | 1138 ppapi::HostResource /* video_decoder */) |
| OLD | NEW |