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

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

Issue 191123002: Implement hidpi and pinch-zoom scaling of filter params in cc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch Transform -> Vector2dF for scale, add DCHECK Created 6 years, 9 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
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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassDrawQuad) 158 IPC_STRUCT_TRAITS_BEGIN(cc::RenderPassDrawQuad)
159 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 159 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
160 IPC_STRUCT_TRAITS_MEMBER(render_pass_id) 160 IPC_STRUCT_TRAITS_MEMBER(render_pass_id)
161 IPC_STRUCT_TRAITS_MEMBER(is_replica) 161 IPC_STRUCT_TRAITS_MEMBER(is_replica)
162 IPC_STRUCT_TRAITS_MEMBER(mask_resource_id) 162 IPC_STRUCT_TRAITS_MEMBER(mask_resource_id)
163 IPC_STRUCT_TRAITS_MEMBER(contents_changed_since_last_frame) 163 IPC_STRUCT_TRAITS_MEMBER(contents_changed_since_last_frame)
164 IPC_STRUCT_TRAITS_MEMBER(mask_uv_rect) 164 IPC_STRUCT_TRAITS_MEMBER(mask_uv_rect)
165 IPC_STRUCT_TRAITS_MEMBER(filters) 165 IPC_STRUCT_TRAITS_MEMBER(filters)
166 IPC_STRUCT_TRAITS_MEMBER(background_filters) 166 IPC_STRUCT_TRAITS_MEMBER(background_filters)
167 IPC_STRUCT_TRAITS_MEMBER(scale)
danakj 2014/03/07 20:54:05 Cool, you'll need to update a few tests in cc_mess
Stephen White 2014/03/07 21:54:14 Done.
167 IPC_STRUCT_TRAITS_END() 168 IPC_STRUCT_TRAITS_END()
168 169
169 IPC_STRUCT_TRAITS_BEGIN(cc::SolidColorDrawQuad) 170 IPC_STRUCT_TRAITS_BEGIN(cc::SolidColorDrawQuad)
170 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 171 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
171 IPC_STRUCT_TRAITS_MEMBER(color) 172 IPC_STRUCT_TRAITS_MEMBER(color)
172 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off) 173 IPC_STRUCT_TRAITS_MEMBER(force_anti_aliasing_off)
173 IPC_STRUCT_TRAITS_END() 174 IPC_STRUCT_TRAITS_END()
174 175
175 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad) 176 IPC_STRUCT_TRAITS_BEGIN(cc::StreamVideoDrawQuad)
176 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad) 177 IPC_STRUCT_TRAITS_PARENT(cc::DrawQuad)
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 IPC_STRUCT_TRAITS_MEMBER(size) 267 IPC_STRUCT_TRAITS_MEMBER(size)
267 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect) 268 IPC_STRUCT_TRAITS_MEMBER(sub_buffer_rect)
268 IPC_STRUCT_TRAITS_END() 269 IPC_STRUCT_TRAITS_END()
269 270
270 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData) 271 IPC_STRUCT_TRAITS_BEGIN(cc::SoftwareFrameData)
271 IPC_STRUCT_TRAITS_MEMBER(id) 272 IPC_STRUCT_TRAITS_MEMBER(id)
272 IPC_STRUCT_TRAITS_MEMBER(size) 273 IPC_STRUCT_TRAITS_MEMBER(size)
273 IPC_STRUCT_TRAITS_MEMBER(damage_rect) 274 IPC_STRUCT_TRAITS_MEMBER(damage_rect)
274 IPC_STRUCT_TRAITS_MEMBER(handle) 275 IPC_STRUCT_TRAITS_MEMBER(handle)
275 IPC_STRUCT_TRAITS_END() 276 IPC_STRUCT_TRAITS_END()
OLDNEW
« cc/quads/render_pass_draw_quad.h ('K') | « cc/test/render_pass_test_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698