OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 ppapi::HostResource /* context */, | 1036 ppapi::HostResource /* context */, |
1037 int32_t /* put_offset */) | 1037 int32_t /* put_offset */) |
1038 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, | 1038 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_CreateTransferBuffer, |
1039 ppapi::HostResource /* context */, | 1039 ppapi::HostResource /* context */, |
1040 uint32_t /* size */, | 1040 uint32_t /* size */, |
1041 int32_t /* id */, | 1041 int32_t /* id */, |
1042 ppapi::proxy::SerializedHandle /* transfer_buffer */) | 1042 ppapi::proxy::SerializedHandle /* transfer_buffer */) |
1043 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, | 1043 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_DestroyTransferBuffer, |
1044 ppapi::HostResource /* context */, | 1044 ppapi::HostResource /* context */, |
1045 int32_t /* id */) | 1045 int32_t /* id */) |
| 1046 // The receiver of this message takes ownership of the front buffer of the GL |
| 1047 // context. Each call to PpapiHostMsg_PPBGraphics3D_SwapBuffers must be preceded |
| 1048 // by exactly one call to PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer. The |
| 1049 // SyncToken passed to PpapiHostMsg_PPBGraphics3D_SwapBuffers must be generated |
| 1050 // after this message is sent. |
| 1051 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_TakeFrontBuffer, |
| 1052 ppapi::HostResource /* graphics_3d */) |
1046 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_SwapBuffers, | 1053 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
1047 ppapi::HostResource /* graphics_3d */, | 1054 ppapi::HostResource /* graphics_3d */, |
1048 gpu::SyncToken /* sync_token */) | 1055 gpu::SyncToken /* sync_token */) |
1049 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_EnsureWorkVisible, | 1056 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBGraphics3D_EnsureWorkVisible, |
1050 ppapi::HostResource /* context */) | 1057 ppapi::HostResource /* context */) |
1051 | 1058 |
1052 // PPB_ImageData. | 1059 // PPB_ImageData. |
1053 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreatePlatform, | 1060 IPC_SYNC_MESSAGE_ROUTED4_3(PpapiHostMsg_PPBImageData_CreatePlatform, |
1054 PP_Instance /* instance */, | 1061 PP_Instance /* instance */, |
1055 int32_t /* format */, | 1062 int32_t /* format */, |
(...skipping 1378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2434 std::vector<ppapi::HostResource> /* buffers */, | 2441 std::vector<ppapi::HostResource> /* buffers */, |
2435 uint32_t /* buffer_size */) | 2442 uint32_t /* buffer_size */) |
2436 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 2443 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
2437 uint32_t /* status */) | 2444 uint32_t /* status */) |
2438 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2445 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
2439 uint32_t /* error */) | 2446 uint32_t /* error */) |
2440 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2447 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
2441 uint32_t /* buffer */) | 2448 uint32_t /* buffer */) |
2442 | 2449 |
2443 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2450 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |