Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 1548443002: Introducing gpu::CommandBufferId as a distinct, IdType<...>-based type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-save-package-id-self-contained
Patch Set: Rebasing... Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/proxy/ppapi_command_buffer_proxy.cc ('k') | ppapi/proxy/ppb_graphics_3d_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/memory/shared_memory.h" 14 #include "base/memory/shared_memory.h"
15 #include "base/process/process.h" 15 #include "base/process/process.h"
16 #include "base/strings/string16.h" 16 #include "base/strings/string16.h"
17 #include "base/sync_socket.h" 17 #include "base/sync_socket.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "gpu/command_buffer/common/command_buffer.h" 19 #include "gpu/command_buffer/common/command_buffer.h"
20 #include "gpu/command_buffer/common/command_buffer_id.h"
20 #include "gpu/command_buffer/common/mailbox.h" 21 #include "gpu/command_buffer/common/mailbox.h"
21 #include "gpu/command_buffer/common/sync_token.h" 22 #include "gpu/command_buffer/common/sync_token.h"
22 #include "gpu/ipc/gpu_command_buffer_traits.h" 23 #include "gpu/ipc/gpu_command_buffer_traits.h"
23 #include "ipc/ipc_channel_handle.h" 24 #include "ipc/ipc_channel_handle.h"
24 #include "ipc/ipc_message_macros.h" 25 #include "ipc/ipc_message_macros.h"
25 #include "ipc/ipc_message_utils.h" 26 #include "ipc/ipc_message_utils.h"
26 #include "ipc/ipc_platform_file.h" 27 #include "ipc/ipc_platform_file.h"
27 #include "ppapi/c/dev/pp_video_capture_dev.h" 28 #include "ppapi/c/dev/pp_video_capture_dev.h"
28 #include "ppapi/c/dev/pp_video_dev.h" 29 #include "ppapi/c/dev/pp_video_dev.h"
29 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 30 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
(...skipping 978 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 ppapi::HostResource) 1009 ppapi::HostResource)
1009 1010
1010 // PPB_Graphics3D. 1011 // PPB_Graphics3D.
1011 IPC_SYNC_MESSAGE_ROUTED3_4(PpapiHostMsg_PPBGraphics3D_Create, 1012 IPC_SYNC_MESSAGE_ROUTED3_4(PpapiHostMsg_PPBGraphics3D_Create,
1012 PP_Instance /* instance */, 1013 PP_Instance /* instance */,
1013 ppapi::HostResource /* share_context */, 1014 ppapi::HostResource /* share_context */,
1014 std::vector<int32_t> /* attrib_list */, 1015 std::vector<int32_t> /* attrib_list */,
1015 ppapi::HostResource /* result */, 1016 ppapi::HostResource /* result */,
1016 gpu::Capabilities /* capabilities */, 1017 gpu::Capabilities /* capabilities */,
1017 ppapi::proxy::SerializedHandle /* shared_state */, 1018 ppapi::proxy::SerializedHandle /* shared_state */,
1018 uint64_t /* command_buffer_id */) 1019 gpu::CommandBufferId /* command_buffer_id */)
1019 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, 1020 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer,
1020 ppapi::HostResource /* context */, 1021 ppapi::HostResource /* context */,
1021 int32_t /* transfer_buffer_id */) 1022 int32_t /* transfer_buffer_id */)
1022 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBGraphics3D_WaitForTokenInRange, 1023 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBGraphics3D_WaitForTokenInRange,
1023 ppapi::HostResource /* context */, 1024 ppapi::HostResource /* context */,
1024 int32_t /* start */, 1025 int32_t /* start */,
1025 int32_t /* end */, 1026 int32_t /* end */,
1026 gpu::CommandBuffer::State /* state */, 1027 gpu::CommandBuffer::State /* state */,
1027 bool /* success */) 1028 bool /* success */)
1028 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBGraphics3D_WaitForGetOffsetInRange, 1029 IPC_SYNC_MESSAGE_ROUTED3_2(PpapiHostMsg_PPBGraphics3D_WaitForGetOffsetInRange,
(...skipping 1401 matching lines...) Expand 10 before | Expand all | Expand 10 after
2430 std::vector<ppapi::HostResource> /* buffers */, 2431 std::vector<ppapi::HostResource> /* buffers */,
2431 uint32_t /* buffer_size */) 2432 uint32_t /* buffer_size */)
2432 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 2433 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
2433 uint32_t /* status */) 2434 uint32_t /* status */)
2434 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 2435 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
2435 uint32_t /* error */) 2436 uint32_t /* error */)
2436 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 2437 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
2437 uint32_t /* buffer */) 2438 uint32_t /* buffer */)
2438 2439
2439 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2440 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_command_buffer_proxy.cc ('k') | ppapi/proxy/ppb_graphics_3d_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698