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

Side by Side Diff: content/common/android/sync_compositor_messages.h

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: rebase Created 4 years, 3 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/memory/shared_memory_handle.h" 7 #include "base/memory/shared_memory_handle.h"
8 #include "cc/output/begin_frame_args.h" 8 #include "cc/output/begin_frame_args.h"
9 #include "cc/output/compositor_frame.h" 9 #include "cc/output/compositor_frame.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_ComputeScroll, 124 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_ComputeScroll,
125 base::TimeTicks); 125 base::TimeTicks);
126 126
127 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_DemandDrawHwAsync, 127 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_DemandDrawHwAsync,
128 content::SyncCompositorDemandDrawHwParams) 128 content::SyncCompositorDemandDrawHwParams)
129 129
130 IPC_SYNC_MESSAGE_ROUTED1_3(SyncCompositorMsg_DemandDrawHw, 130 IPC_SYNC_MESSAGE_ROUTED1_3(SyncCompositorMsg_DemandDrawHw,
131 content::SyncCompositorDemandDrawHwParams, 131 content::SyncCompositorDemandDrawHwParams,
132 content::SyncCompositorCommonRendererParams, 132 content::SyncCompositorCommonRendererParams,
133 uint32_t /* output_surface_id */, 133 uint32_t /* output_surface_id */,
boliu 2016/09/14 00:19:33 one more.. actually if you chase this one down, t
danakj 2016/09/14 01:09:11 Done. Ohh. ya there's a lot. Maybe separate CL.
134 cc::CompositorFrame) 134 cc::CompositorFrame)
135 135
136 IPC_SYNC_MESSAGE_ROUTED1_2(SyncCompositorMsg_SetSharedMemory, 136 IPC_SYNC_MESSAGE_ROUTED1_2(SyncCompositorMsg_SetSharedMemory,
137 content::SyncCompositorSetSharedMemoryParams, 137 content::SyncCompositorSetSharedMemoryParams,
138 bool /* success */, 138 bool /* success */,
139 content::SyncCompositorCommonRendererParams); 139 content::SyncCompositorCommonRendererParams);
140 140
141 IPC_MESSAGE_ROUTED0(SyncCompositorMsg_ZeroSharedMemory); 141 IPC_MESSAGE_ROUTED0(SyncCompositorMsg_ZeroSharedMemory);
142 142
143 IPC_SYNC_MESSAGE_ROUTED1_3(SyncCompositorMsg_DemandDrawSw, 143 IPC_SYNC_MESSAGE_ROUTED1_3(SyncCompositorMsg_DemandDrawSw,
144 content::SyncCompositorDemandDrawSwParams, 144 content::SyncCompositorDemandDrawSwParams,
145 bool /* result */, 145 bool /* result */,
146 content::SyncCompositorCommonRendererParams, 146 content::SyncCompositorCommonRendererParams,
147 cc::CompositorFrame) 147 cc::CompositorFrame)
148 148
149 IPC_SYNC_MESSAGE_ROUTED2_1(SyncCompositorMsg_ZoomBy, 149 IPC_SYNC_MESSAGE_ROUTED2_1(SyncCompositorMsg_ZoomBy,
150 float /* delta */, 150 float /* delta */,
151 gfx::Point /* anchor */, 151 gfx::Point /* anchor */,
152 content::SyncCompositorCommonRendererParams) 152 content::SyncCompositorCommonRendererParams)
153 153
154 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetMemoryPolicy, 154 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetMemoryPolicy,
155 uint32_t /* bytes_limit */); 155 uint32_t /* bytes_limit */);
156 156
157 IPC_MESSAGE_ROUTED2(SyncCompositorMsg_ReclaimResources, 157 IPC_MESSAGE_ROUTED2(SyncCompositorMsg_ReclaimResources,
158 uint32_t /* output_surface_id */, 158 uint32_t /* output_surface_id */,
boliu 2016/09/14 00:19:33 one more..
danakj 2016/09/14 01:09:11 Done.
159 cc::ReturnedResourceArray /* resources */); 159 cc::ReturnedResourceArray /* resources */);
160 160
161 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetScroll, gfx::ScrollOffset); 161 IPC_MESSAGE_ROUTED1(SyncCompositorMsg_SetScroll, gfx::ScrollOffset);
162 162
163 // ----------------------------------------------------------------------------- 163 // -----------------------------------------------------------------------------
164 // Messages sent from the renderer to the browser. 164 // Messages sent from the renderer to the browser.
165 165
166 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_OutputSurfaceCreated); 166 IPC_MESSAGE_ROUTED0(SyncCompositorHostMsg_CompositorFrameSinkCreated);
167 167
168 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState, 168 IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState,
169 content::SyncCompositorCommonRendererParams) 169 content::SyncCompositorCommonRendererParams)
170 170
171 IPC_MESSAGE_ROUTED2(SyncCompositorHostMsg_ReturnFrame, 171 IPC_MESSAGE_ROUTED2(SyncCompositorHostMsg_ReturnFrame,
172 uint32_t /* output_surface_id */, 172 uint32_t /* output_surface_id */,
173 cc::CompositorFrame); 173 cc::CompositorFrame);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698