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

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

Issue 1496103002: Reusing base::IdType<...> to implement SurfaceId. Base URL: https://chromium.googlesource.com/chromium/src.git@type-safe-id-base
Patch Set: Rebasing + dusting off... 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
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 // IPC Messages sent between compositor instances. 5 // IPC Messages sent between compositor instances.
6 6
7 #include "cc/output/begin_frame_args.h" 7 #include "cc/output/begin_frame_args.h"
8 #include "cc/output/compositor_frame.h" 8 #include "cc/output/compositor_frame.h"
9 #include "cc/output/compositor_frame_ack.h" 9 #include "cc/output/compositor_frame_ack.h"
10 #include "cc/output/filter_operation.h" 10 #include "cc/output/filter_operation.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 IPC_ENUM_TRAITS_MAX_VALUE(cc::SelectionBoundType, cc::SELECTION_BOUND_TYPE_LAST) 174 IPC_ENUM_TRAITS_MAX_VALUE(cc::SelectionBoundType, cc::SELECTION_BOUND_TYPE_LAST)
175 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode) 175 IPC_ENUM_TRAITS_MAX_VALUE(SkXfermode::Mode, SkXfermode::kLastMode)
176 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace, 176 IPC_ENUM_TRAITS_MAX_VALUE(cc::YUVVideoDrawQuad::ColorSpace,
177 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST) 177 cc::YUVVideoDrawQuad::COLOR_SPACE_LAST)
178 178
179 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId) 179 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassId)
180 IPC_STRUCT_TRAITS_MEMBER(layer_id) 180 IPC_STRUCT_TRAITS_MEMBER(layer_id)
181 IPC_STRUCT_TRAITS_MEMBER(index) 181 IPC_STRUCT_TRAITS_MEMBER(index)
182 IPC_STRUCT_TRAITS_END() 182 IPC_STRUCT_TRAITS_END()
183 183
184 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceId)
185 IPC_STRUCT_TRAITS_MEMBER(id)
186 IPC_STRUCT_TRAITS_END()
187
188 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence) 184 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceSequence)
189 IPC_STRUCT_TRAITS_MEMBER(id_namespace) 185 IPC_STRUCT_TRAITS_MEMBER(id_namespace)
190 IPC_STRUCT_TRAITS_MEMBER(sequence) 186 IPC_STRUCT_TRAITS_MEMBER(sequence)
191 IPC_STRUCT_TRAITS_END() 187 IPC_STRUCT_TRAITS_END()
192 188
193 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad) 189 IPC_STRUCT_TRAITS_BEGIN(cc::DrawQuad)
194 IPC_STRUCT_TRAITS_MEMBER(material) 190 IPC_STRUCT_TRAITS_MEMBER(material)
195 IPC_STRUCT_TRAITS_MEMBER(rect) 191 IPC_STRUCT_TRAITS_MEMBER(rect)
196 IPC_STRUCT_TRAITS_MEMBER(opaque_rect) 192 IPC_STRUCT_TRAITS_MEMBER(opaque_rect)
197 IPC_STRUCT_TRAITS_MEMBER(visible_rect) 193 IPC_STRUCT_TRAITS_MEMBER(visible_rect)
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences) 338 IPC_STRUCT_TRAITS_MEMBER(satisfies_sequences)
343 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces) 339 IPC_STRUCT_TRAITS_MEMBER(referenced_surfaces)
344 IPC_STRUCT_TRAITS_END() 340 IPC_STRUCT_TRAITS_END()
345 341
346 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) 342 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData)
347 IPC_STRUCT_TRAITS_MEMBER(mailbox) 343 IPC_STRUCT_TRAITS_MEMBER(mailbox)
348 IPC_STRUCT_TRAITS_MEMBER(sync_token) 344 IPC_STRUCT_TRAITS_MEMBER(sync_token)
349 IPC_STRUCT_TRAITS_MEMBER(size) 345 IPC_STRUCT_TRAITS_MEMBER(size)
350 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 346 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
351 IPC_STRUCT_TRAITS_END() 347 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_input_event_router.cc ('k') | content/common/cc_messages_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698