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

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

Issue 2056483002: Move quads.mojom from Mus to cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 | « cc/ipc/BUILD.gn ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('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 mus.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";
11 import "ui/gfx/geometry/mojo/geometry.mojom"; 11 import "ui/gfx/geometry/mojo/geometry.mojom";
12 import "ui/gfx/mojo/transform.mojom"; 12 import "ui/gfx/mojo/transform.mojom";
13 13
14 struct Color { 14 struct Color {
15 uint32 rgba; 15 uint32 rgba;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 PICTURE_CONTENT, 113 PICTURE_CONTENT,
114 RENDER_PASS, 114 RENDER_PASS,
115 SOLID_COLOR, 115 SOLID_COLOR,
116 STREAM_VIDEO_CONTENT, 116 STREAM_VIDEO_CONTENT,
117 SURFACE_CONTENT, 117 SURFACE_CONTENT,
118 TEXTURE_CONTENT, 118 TEXTURE_CONTENT,
119 TILED_CONTENT, 119 TILED_CONTENT,
120 YUV_VIDEO_CONTENT, 120 YUV_VIDEO_CONTENT,
121 }; 121 };
122 122
123 struct Quad { 123 struct DrawQuad {
124 Material material; 124 Material material;
125 125
126 // This rect, after applying the quad_transform(), gives the geometry that 126 // This rect, after applying the quad_transform(), gives the geometry that
127 // this quad should draw to. This rect lives in content space. 127 // this quad should draw to. This rect lives in content space.
128 gfx.mojom.Rect rect; 128 gfx.mojom.Rect rect;
129 129
130 // This specifies the region of the quad that is opaque. This rect lives in 130 // This specifies the region of the quad that is opaque. This rect lives in
131 // content space. 131 // content space.
132 gfx.mojom.Rect opaque_rect; 132 gfx.mojom.Rect opaque_rect;
133 133
(...skipping 15 matching lines...) Expand all
149 IoSurfaceContentQuadState? io_surface_quad_state; 149 IoSurfaceContentQuadState? io_surface_quad_state;
150 RenderPassQuadState? render_pass_quad_state; 150 RenderPassQuadState? render_pass_quad_state;
151 SolidColorQuadState? solid_color_quad_state; 151 SolidColorQuadState? solid_color_quad_state;
152 SurfaceQuadState? surface_quad_state; 152 SurfaceQuadState? surface_quad_state;
153 TextureQuadState? texture_quad_state; 153 TextureQuadState? texture_quad_state;
154 TileQuadState? tile_quad_state; 154 TileQuadState? tile_quad_state;
155 StreamVideoQuadState? stream_video_quad_state; 155 StreamVideoQuadState? stream_video_quad_state;
156 YUVVideoQuadState? yuv_video_quad_state; 156 YUVVideoQuadState? yuv_video_quad_state;
157 }; 157 };
158 158
159 struct Pass { 159 struct RenderPass {
160 cc.mojom.RenderPassId id; 160 cc.mojom.RenderPassId id;
161 gfx.mojom.Rect output_rect; 161 gfx.mojom.Rect output_rect;
162 gfx.mojom.Rect damage_rect; 162 gfx.mojom.Rect damage_rect;
163 gfx.mojom.Transform transform_to_root_target; 163 gfx.mojom.Transform transform_to_root_target;
164 bool has_transparent_background; 164 bool has_transparent_background;
165 array<Quad> quads; 165 array<DrawQuad> quads;
166 array<cc.mojom.SharedQuadState> shared_quad_states; 166 array<cc.mojom.SharedQuadState> shared_quad_states;
167 }; 167 };
OLDNEW
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698