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

Side by Side Diff: cc/ipc/quads.mojom

Issue 2297213003: Fix CSS reference filters with negative transformed children. (Closed)
Patch Set: Created 4 years, 3 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 | « cc/ipc/cc_param_traits_unittest.cc ('k') | cc/ipc/quads_struct_traits.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 cc.mojom; 5 module cc.mojom;
6 6
7 import "cc/ipc/filter_operations.mojom"; 7 import "cc/ipc/filter_operations.mojom";
8 import "cc/ipc/render_pass_id.mojom"; 8 import "cc/ipc/render_pass_id.mojom";
9 import "cc/ipc/shared_quad_state.mojom"; 9 import "cc/ipc/shared_quad_state.mojom";
10 import "cc/ipc/surface_id.mojom"; 10 import "cc/ipc/surface_id.mojom";
(...skipping 18 matching lines...) Expand all
29 29
30 // Post-processing filters, applied to the pixels in the render pass' texture. 30 // Post-processing filters, applied to the pixels in the render pass' texture.
31 cc.mojom.FilterOperations filters; 31 cc.mojom.FilterOperations filters;
32 32
33 // The scale from layer space of the root layer of the render pass to 33 // The scale from layer space of the root layer of the render pass to
34 // the render pass physical pixels. This scale is applied to the filter 34 // the render pass physical pixels. This scale is applied to the filter
35 // parameters for pixel-moving filters. This scale should include 35 // parameters for pixel-moving filters. This scale should include
36 // content-to-target-space scale, and device pixel ratio. 36 // content-to-target-space scale, and device pixel ratio.
37 gfx.mojom.Vector2dF filters_scale; 37 gfx.mojom.Vector2dF filters_scale;
38 38
39 // The offset from the bounds of the root layer to the origin of the
40 // original primitive. This used to correctly position crop rects, lights,
41 // etc.
42 gfx.mojom.PointF filters_origin;
43
39 // Post-processing filters, applied to the pixels showing through the 44 // Post-processing filters, applied to the pixels showing through the
40 // background of the render pass, from behind it. 45 // background of the render pass, from behind it.
41 cc.mojom.FilterOperations background_filters; 46 cc.mojom.FilterOperations background_filters;
42 }; 47 };
43 48
44 struct SolidColorQuadState { 49 struct SolidColorQuadState {
45 uint32 color; 50 uint32 color;
46 bool force_anti_aliasing_off; 51 bool force_anti_aliasing_off;
47 }; 52 };
48 53
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 // Allows changing the rect that gets drawn to make it smaller. This value 129 // Allows changing the rect that gets drawn to make it smaller. This value
125 // should be clipped to |rect|. This rect lives in content space. 130 // should be clipped to |rect|. This rect lives in content space.
126 bool needs_blending; 131 bool needs_blending;
127 132
128 // Optionally holds a SharedQuadState (transforms etc) shared by multiple 133 // Optionally holds a SharedQuadState (transforms etc) shared by multiple
129 // quads. 134 // quads.
130 SharedQuadState? sqs; 135 SharedQuadState? sqs;
131 136
132 DrawQuadState draw_quad_state; 137 DrawQuadState draw_quad_state;
133 }; 138 };
OLDNEW
« no previous file with comments | « cc/ipc/cc_param_traits_unittest.cc ('k') | cc/ipc/quads_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698