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

Side by Side Diff: components/view_manager/public/interfaces/quads.mojom

Issue 1175113010: cc: Rename visible_content_rect and content stuff on quads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename-visible-content-rect: moreandroid Created 5 years, 6 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
« no previous file with comments | « components/view_manager/display_manager.cc ('k') | content/common/cc_messages.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 module mojo; 5 module mojo;
6 6
7 import "components/view_manager/public/interfaces/surface_id.mojom"; 7 import "components/view_manager/public/interfaces/surface_id.mojom";
8 import "ui/mojo/geometry/geometry.mojom"; 8 import "ui/mojo/geometry/geometry.mojom";
9 9
10 struct Color { 10 struct Color {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 kLastSeparableMode = kMultiply_Mode, 176 kLastSeparableMode = kMultiply_Mode,
177 177
178 kHue_Mode, 178 kHue_Mode,
179 kSaturation_Mode, 179 kSaturation_Mode,
180 kColor_Mode, 180 kColor_Mode,
181 kLuminosity_Mode, 181 kLuminosity_Mode,
182 kLastMode = kLuminosity_Mode 182 kLastMode = kLuminosity_Mode
183 }; 183 };
184 184
185 struct SharedQuadState { 185 struct SharedQuadState {
186 // Transforms from quad's original content space to its target content space. 186 // Transforms quad rects into the target content space.
187 Transform content_to_target_transform; 187 Transform quad_to_target_transform;
188 188
189 // This size lives in the content space for the quad's originating layer. 189 // The size of the quads' originating layer in the space of the quad rects.
190 Size content_bounds; 190 Size quad_layer_bounds;
191 191
192 // This rect lives in the content space for the quad's originating layer. 192 // The size of the visible area in the quads' originating layer, in the space
193 Rect visible_content_rect; 193 // of the quad rects.
194 Rect visible_quad_layer_rect;
194 195
195 // This rect lives in the target content space. 196 // This rect lives in the target content space.
196 Rect clip_rect; 197 Rect clip_rect;
197 198
198 bool is_clipped; 199 bool is_clipped;
199 float opacity; 200 float opacity;
200 SkXfermode blend_mode; 201 SkXfermode blend_mode;
201 int32 sorting_context_id; 202 int32 sorting_context_id;
202 }; 203 };
203 204
204 struct Pass { 205 struct Pass {
205 RenderPassId id; 206 RenderPassId id;
206 Rect output_rect; 207 Rect output_rect;
207 Rect damage_rect; 208 Rect damage_rect;
208 Transform transform_to_root_target; 209 Transform transform_to_root_target;
209 bool has_transparent_background; 210 bool has_transparent_background;
210 array<Quad> quads; 211 array<Quad> quads;
211 array<SharedQuadState> shared_quad_states; 212 array<SharedQuadState> shared_quad_states;
212 }; 213 };
OLDNEW
« no previous file with comments | « components/view_manager/display_manager.cc ('k') | content/common/cc_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698