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

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

Issue 127373002: Add cc:DrawQuad type for surfaces (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update cc_messages_unittests Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « cc/quads/surface_draw_quad.cc ('k') | content/common/cc_messages.cc » ('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 // 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"
11 #include "cc/quads/checkerboard_draw_quad.h" 11 #include "cc/quads/checkerboard_draw_quad.h"
12 #include "cc/quads/debug_border_draw_quad.h" 12 #include "cc/quads/debug_border_draw_quad.h"
13 #include "cc/quads/draw_quad.h" 13 #include "cc/quads/draw_quad.h"
14 #include "cc/quads/io_surface_draw_quad.h" 14 #include "cc/quads/io_surface_draw_quad.h"
15 #include "cc/quads/picture_draw_quad.h" 15 #include "cc/quads/picture_draw_quad.h"
16 #include "cc/quads/render_pass.h" 16 #include "cc/quads/render_pass.h"
17 #include "cc/quads/render_pass_draw_quad.h" 17 #include "cc/quads/render_pass_draw_quad.h"
18 #include "cc/quads/shared_quad_state.h" 18 #include "cc/quads/shared_quad_state.h"
19 #include "cc/quads/solid_color_draw_quad.h" 19 #include "cc/quads/solid_color_draw_quad.h"
20 #include "cc/quads/stream_video_draw_quad.h" 20 #include "cc/quads/stream_video_draw_quad.h"
21 #include "cc/quads/surface_draw_quad.h"
21 #include "cc/quads/texture_draw_quad.h" 22 #include "cc/quads/texture_draw_quad.h"
22 #include "cc/quads/tile_draw_quad.h" 23 #include "cc/quads/tile_draw_quad.h"
23 #include "cc/quads/yuv_video_draw_quad.h" 24 #include "cc/quads/yuv_video_draw_quad.h"
24 #include "cc/resources/resource_format.h" 25 #include "cc/resources/resource_format.h"
25 #include "cc/resources/returned_resource.h" 26 #include "cc/resources/returned_resource.h"
26 #include "cc/resources/transferable_resource.h" 27 #include "cc/resources/transferable_resource.h"
27 #include "content/common/content_export.h" 28 #include "content/common/content_export.h"
28 #include "gpu/ipc/gpu_command_buffer_traits.h" 29 #include "gpu/ipc/gpu_command_buffer_traits.h"
29 #include "ipc/ipc_message_macros.h" 30 #include "ipc/ipc_message_macros.h"
30 31
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 IPC_STRUCT_TRAITS_MEMBER(color) 169 IPC_STRUCT_TRAITS_MEMBER(color)
169 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off) 170 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off)
170 IPC_STRUCT_TRAITS_END() 171 IPC_STRUCT_TRAITS_END()
171 172
172 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad) 173 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad)
173 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 174 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
174 IPC_STRUCT_TRAITS_MEMBER(resource_id) 175 IPC_STRUCT_TRAITS_MEMBER(resource_id)
175 IPC_STRUCT_TRAITS_MEMBER(matrix) 176 IPC_STRUCT_TRAITS_MEMBER(matrix)
176 IPC_STRUCT_TRAITS_END() 177 IPC_STRUCT_TRAITS_END()
177 178
179 IPC_STRUCT_TRAITS_BEGIN(cc::SurfaceDrawQuad)
180 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
181 IPC_STRUCT_TRAITS_MEMBER(surface_id)
182 IPC_STRUCT_TRAITS_END()
183
178 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad) 184 IPC_STRUCT_TRAITS_BEGIN(cc::TextureDrawQuad)
179 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 185 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
180 IPC_STRUCT_TRAITS_MEMBER(resource_id) 186 IPC_STRUCT_TRAITS_MEMBER(resource_id)
181 IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha) 187 IPC_STRUCT_TRAITS_MEMBER(premultiplied_alpha)
182 IPC_STRUCT_TRAITS_MEMBER(uv_top_left) 188 IPC_STRUCT_TRAITS_MEMBER(uv_top_left)
183 IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right) 189 IPC_STRUCT_TRAITS_MEMBER(uv_bottom_right)
184 IPC_STRUCT_TRAITS_MEMBER(background_color) 190 IPC_STRUCT_TRAITS_MEMBER(background_color)
185 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[0]) 191 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[0])
186 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[1]) 192 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[1])
187 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[2]) 193 IPC_STRUCT_TRAITS_MEMBER(vertex_opacity[2])
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 IPC_STRUCT_TRAITS_MEMBER(size) 266 IPC_STRUCT_TRAITS_MEMBER(size)
261 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 267 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
262 IPC_STRUCT_TRAITS_END() 268 IPC_STRUCT_TRAITS_END()
263 269
264 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) 270 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData)
265 IPC_STRUCT_TRAITS_MEMBER(id) 271 IPC_STRUCT_TRAITS_MEMBER(id)
266 IPC_STRUCT_TRAITS_MEMBER(size) 272 IPC_STRUCT_TRAITS_MEMBER(size)
267 IPC_STRUCT_TRAITS_MEMBER(damage_rect) 273 IPC_STRUCT_TRAITS_MEMBER(damage_rect)
268 IPC_STRUCT_TRAITS_MEMBER(handle) 274 IPC_STRUCT_TRAITS_MEMBER(handle)
269 IPC_STRUCT_TRAITS_END() 275 IPC_STRUCT_TRAITS_END()
OLDNEW
« no previous file with comments | « cc/quads/surface_draw_quad.cc ('k') | content/common/cc_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698