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

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

Issue 2541403002: cc mojo: Serialize/deserialize missed field in TextureDrawQuads (Closed)
Patch Set: Created 4 years 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 | « no previous file | 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 gfx.mojom.Size resource_size_in_pixels; 56 gfx.mojom.Size resource_size_in_pixels;
57 gfx.mojom.Transform matrix; 57 gfx.mojom.Transform matrix;
58 }; 58 };
59 59
60 struct SurfaceQuadState { 60 struct SurfaceQuadState {
61 cc.mojom.SurfaceId surface; 61 cc.mojom.SurfaceId surface;
62 }; 62 };
63 63
64 struct TextureQuadState { 64 struct TextureQuadState {
65 uint32 resource_id; 65 uint32 resource_id;
66 gfx.mojom.Size resource_size_in_pixels;
66 bool premultiplied_alpha; 67 bool premultiplied_alpha;
67 gfx.mojom.PointF uv_top_left; 68 gfx.mojom.PointF uv_top_left;
68 gfx.mojom.PointF uv_bottom_right; 69 gfx.mojom.PointF uv_bottom_right;
69 uint32 background_color; 70 uint32 background_color;
70 array<float, 4> vertex_opacity; 71 array<float, 4> vertex_opacity;
71 bool y_flipped; 72 bool y_flipped;
72 bool nearest_neighbor; 73 bool nearest_neighbor;
73 bool secure_output_only; 74 bool secure_output_only;
74 }; 75 };
75 76
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // Allows changing the rect that gets drawn to make it smaller. This value 130 // Allows changing the rect that gets drawn to make it smaller. This value
130 // should be clipped to |rect|. This rect lives in content space. 131 // should be clipped to |rect|. This rect lives in content space.
131 bool needs_blending; 132 bool needs_blending;
132 133
133 // Optionally holds a SharedQuadState (transforms etc) shared by multiple 134 // Optionally holds a SharedQuadState (transforms etc) shared by multiple
134 // quads. 135 // quads.
135 SharedQuadState? sqs; 136 SharedQuadState? sqs;
136 137
137 DrawQuadState draw_quad_state; 138 DrawQuadState draw_quad_state;
138 }; 139 };
OLDNEW
« no previous file with comments | « no previous file | cc/ipc/quads_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698