| OLD | NEW |
| 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/checkerboard_draw_quad.h" | 7 #include "cc/checkerboard_draw_quad.h" |
| 8 #include "cc/compositor_frame.h" | 8 #include "cc/compositor_frame.h" |
| 9 #include "cc/compositor_frame_ack.h" | 9 #include "cc/compositor_frame_ack.h" |
| 10 #include "cc/debug_border_draw_quad.h" | 10 #include "cc/debug_border_draw_quad.h" |
| 11 #include "cc/draw_quad.h" | 11 #include "cc/draw_quad.h" |
| 12 #include "cc/io_surface_draw_quad.h" | 12 #include "cc/io_surface_draw_quad.h" |
| 13 #include "cc/render_pass.h" | 13 #include "cc/render_pass.h" |
| 14 #include "cc/render_pass_draw_quad.h" | 14 #include "cc/render_pass_draw_quad.h" |
| 15 #include "cc/shared_quad_state.h" | 15 #include "cc/shared_quad_state.h" |
| 16 #include "cc/solid_color_draw_quad.h" | 16 #include "cc/solid_color_draw_quad.h" |
| 17 #include "cc/stream_video_draw_quad.h" | 17 #include "cc/stream_video_draw_quad.h" |
| 18 #include "cc/texture_draw_quad.h" | 18 #include "cc/texture_draw_quad.h" |
| 19 #include "cc/tile_draw_quad.h" | 19 #include "cc/tile_draw_quad.h" |
| 20 #include "cc/transferable_resource.h" | 20 #include "cc/transferable_resource.h" |
| 21 #include "cc/video_layer_impl.h" | 21 #include "cc/video_layer_impl.h" |
| 22 #include "cc/yuv_video_draw_quad.h" | 22 #include "cc/yuv_video_draw_quad.h" |
| 23 #include "cc/yuva_video_draw_quad.h" |
| 23 #include "content/common/content_export.h" | 24 #include "content/common/content_export.h" |
| 24 #include "ipc/ipc_message_macros.h" | 25 #include "ipc/ipc_message_macros.h" |
| 25 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperation.
h" | 26 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperation.
h" |
| 26 | 27 |
| 27 #ifndef CONTENT_COMMON_CC_MESSAGES_H_ | 28 #ifndef CONTENT_COMMON_CC_MESSAGES_H_ |
| 28 #define CONTENT_COMMON_CC_MESSAGES_H_ | 29 #define CONTENT_COMMON_CC_MESSAGES_H_ |
| 29 | 30 |
| 30 namespace cc { | 31 namespace cc { |
| 31 class CompositorFrame; | 32 class CompositorFrame; |
| 32 } | 33 } |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 IPC_STRUCT_TRAITS_END() | 199 IPC_STRUCT_TRAITS_END() |
| 199 | 200 |
| 200 IPC_STRUCT_TRAITS_BEGIN(cc::YUVVideoDrawQuad) | 201 IPC_STRUCT_TRAITS_BEGIN(cc::YUVVideoDrawQuad) |
| 201 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) | 202 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
| 202 IPC_STRUCT_TRAITS_MEMBER(tex_scale) | 203 IPC_STRUCT_TRAITS_MEMBER(tex_scale) |
| 203 IPC_STRUCT_TRAITS_MEMBER(y_plane) | 204 IPC_STRUCT_TRAITS_MEMBER(y_plane) |
| 204 IPC_STRUCT_TRAITS_MEMBER(u_plane) | 205 IPC_STRUCT_TRAITS_MEMBER(u_plane) |
| 205 IPC_STRUCT_TRAITS_MEMBER(v_plane) | 206 IPC_STRUCT_TRAITS_MEMBER(v_plane) |
| 206 IPC_STRUCT_TRAITS_END() | 207 IPC_STRUCT_TRAITS_END() |
| 207 | 208 |
| 209 IPC_STRUCT_TRAITS_BEGIN(cc::YUVAVideoDrawQuad) |
| 210 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) |
| 211 IPC_STRUCT_TRAITS_MEMBER(tex_scale) |
| 212 IPC_STRUCT_TRAITS_MEMBER(y_plane) |
| 213 IPC_STRUCT_TRAITS_MEMBER(u_plane) |
| 214 IPC_STRUCT_TRAITS_MEMBER(v_plane) |
| 215 IPC_STRUCT_TRAITS_MEMBER(a_plane) |
| 216 IPC_STRUCT_TRAITS_END() |
| 217 |
| 208 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) | 218 IPC_STRUCT_TRAITS_BEGIN(cc::SharedQuadState) |
| 209 IPC_STRUCT_TRAITS_MEMBER(content_to_target_transform) | 219 IPC_STRUCT_TRAITS_MEMBER(content_to_target_transform) |
| 210 IPC_STRUCT_TRAITS_MEMBER(visible_content_rect) | 220 IPC_STRUCT_TRAITS_MEMBER(visible_content_rect) |
| 211 IPC_STRUCT_TRAITS_MEMBER(clip_rect) | 221 IPC_STRUCT_TRAITS_MEMBER(clip_rect) |
| 212 IPC_STRUCT_TRAITS_MEMBER(is_clipped) | 222 IPC_STRUCT_TRAITS_MEMBER(is_clipped) |
| 213 IPC_STRUCT_TRAITS_MEMBER(opacity) | 223 IPC_STRUCT_TRAITS_MEMBER(opacity) |
| 214 IPC_STRUCT_TRAITS_END() | 224 IPC_STRUCT_TRAITS_END() |
| 215 | 225 |
| 216 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) | 226 IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource) |
| 217 IPC_STRUCT_TRAITS_MEMBER(id) | 227 IPC_STRUCT_TRAITS_MEMBER(id) |
| (...skipping 19 matching lines...) Expand all Loading... |
| 237 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) | 247 IPC_STRUCT_TRAITS_MEMBER(min_page_scale_factor) |
| 238 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) | 248 IPC_STRUCT_TRAITS_MEMBER(max_page_scale_factor) |
| 239 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) | 249 IPC_STRUCT_TRAITS_MEMBER(location_bar_offset) |
| 240 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) | 250 IPC_STRUCT_TRAITS_MEMBER(location_bar_content_translation) |
| 241 IPC_STRUCT_TRAITS_END() | 251 IPC_STRUCT_TRAITS_END() |
| 242 | 252 |
| 243 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) | 253 IPC_STRUCT_TRAITS_BEGIN(cc::GLFrameData) |
| 244 IPC_STRUCT_TRAITS_MEMBER(mailbox) | 254 IPC_STRUCT_TRAITS_MEMBER(mailbox) |
| 245 IPC_STRUCT_TRAITS_MEMBER(sync_point) | 255 IPC_STRUCT_TRAITS_MEMBER(sync_point) |
| 246 IPC_STRUCT_TRAITS_END() | 256 IPC_STRUCT_TRAITS_END() |
| OLD | NEW |