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

Side by Side Diff: content/common/frame_param_macros.h

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years, 1 month 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 | « content/common/cc_messages_unittest.cc ('k') | content/common/gpu/client/gl_helper.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Allows for sharing of IPC param structures between BrowserPlugin code and 5 // Allows for sharing of IPC param structures between BrowserPlugin code and
6 // RenderFrame code. All these should be folded directly back into the IPCs in 6 // RenderFrame code. All these should be folded directly back into the IPCs in
7 // frame_messages.h once BrowserPlugin has been fully converted over to use 7 // frame_messages.h once BrowserPlugin has been fully converted over to use
8 // the RenderFrame infrastructure. 8 // the RenderFrame infrastructure.
9 // 9 //
10 // TODO(ajwong): Remove once BrowserPlugin has been converted to use 10 // TODO(ajwong): Remove once BrowserPlugin has been converted to use
(...skipping 21 matching lines...) Expand all
32 IPC_STRUCT_BEGIN(FrameMsg_CompositorFrameSwapped_Params) 32 IPC_STRUCT_BEGIN(FrameMsg_CompositorFrameSwapped_Params)
33 // Specifies which RenderWidget produced the CompositorFrame. 33 // Specifies which RenderWidget produced the CompositorFrame.
34 IPC_STRUCT_MEMBER(int, producing_host_id) 34 IPC_STRUCT_MEMBER(int, producing_host_id)
35 IPC_STRUCT_MEMBER(int, producing_route_id) 35 IPC_STRUCT_MEMBER(int, producing_route_id)
36 36
37 IPC_STRUCT_MEMBER(cc::CompositorFrame, frame) 37 IPC_STRUCT_MEMBER(cc::CompositorFrame, frame)
38 IPC_STRUCT_MEMBER(uint32, output_surface_id) 38 IPC_STRUCT_MEMBER(uint32, output_surface_id)
39 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, shared_memory_handle) 39 IPC_STRUCT_MEMBER(base::SharedMemoryHandle, shared_memory_handle)
40 IPC_STRUCT_END() 40 IPC_STRUCT_END()
41 41
42 IPC_STRUCT_BEGIN(FrameHostMsg_BuffersSwappedACK_Params)
43 IPC_STRUCT_MEMBER(int, gpu_host_id)
44 IPC_STRUCT_MEMBER(int, gpu_route_id)
45 IPC_STRUCT_MEMBER(gpu::Mailbox, mailbox)
46 IPC_STRUCT_MEMBER(uint32, sync_point)
47 IPC_STRUCT_END()
48
49 IPC_STRUCT_BEGIN(FrameHostMsg_CompositorFrameSwappedACK_Params) 42 IPC_STRUCT_BEGIN(FrameHostMsg_CompositorFrameSwappedACK_Params)
50 // Specifies which RenderWidget produced the CompositorFrame. 43 // Specifies which RenderWidget produced the CompositorFrame.
51 IPC_STRUCT_MEMBER(int, producing_host_id) 44 IPC_STRUCT_MEMBER(int, producing_host_id)
52 IPC_STRUCT_MEMBER(int, producing_route_id) 45 IPC_STRUCT_MEMBER(int, producing_route_id)
53 46
54 IPC_STRUCT_MEMBER(uint32, output_surface_id) 47 IPC_STRUCT_MEMBER(uint32, output_surface_id)
55 IPC_STRUCT_MEMBER(cc::CompositorFrameAck, ack) 48 IPC_STRUCT_MEMBER(cc::CompositorFrameAck, ack)
56 IPC_STRUCT_END() 49 IPC_STRUCT_END()
57 50
58 IPC_STRUCT_BEGIN(FrameHostMsg_ReclaimCompositorResources_Params) 51 IPC_STRUCT_BEGIN(FrameHostMsg_ReclaimCompositorResources_Params)
59 IPC_STRUCT_MEMBER(int, route_id) 52 IPC_STRUCT_MEMBER(int, route_id)
60 IPC_STRUCT_MEMBER(uint32, output_surface_id) 53 IPC_STRUCT_MEMBER(uint32, output_surface_id)
61 IPC_STRUCT_MEMBER(int, renderer_host_id) 54 IPC_STRUCT_MEMBER(int, renderer_host_id)
62 IPC_STRUCT_MEMBER(cc::CompositorFrameAck, ack) 55 IPC_STRUCT_MEMBER(cc::CompositorFrameAck, ack)
63 IPC_STRUCT_END() 56 IPC_STRUCT_END()
64 57
65 #endif // CONTENT_COMMON_FRAME_PARAM_MACROS_H_ 58 #endif // CONTENT_COMMON_FRAME_PARAM_MACROS_H_
OLDNEW
« no previous file with comments | « content/common/cc_messages_unittest.cc ('k') | content/common/gpu/client/gl_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698