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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/quads.mojom
diff --git a/components/mus/public/interfaces/quads.mojom b/cc/ipc/quads.mojom
similarity index 98%
rename from components/mus/public/interfaces/quads.mojom
rename to cc/ipc/quads.mojom
index e1e6b807239f5b045fbda7d171a59754994eae8c..ec4201bfc0c85a98b5f026a2da3a73c57a6813b7 100644
--- a/components/mus/public/interfaces/quads.mojom
+++ b/cc/ipc/quads.mojom
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module mus.mojom;
+module cc.mojom;
import "cc/ipc/filter_operations.mojom";
import "cc/ipc/render_pass_id.mojom";
@@ -120,7 +120,7 @@ enum Material {
YUV_VIDEO_CONTENT,
};
-struct Quad {
+struct DrawQuad {
Material material;
// This rect, after applying the quad_transform(), gives the geometry that
@@ -156,12 +156,12 @@ struct Quad {
YUVVideoQuadState? yuv_video_quad_state;
};
-struct Pass {
+struct RenderPass {
cc.mojom.RenderPassId id;
gfx.mojom.Rect output_rect;
gfx.mojom.Rect damage_rect;
gfx.mojom.Transform transform_to_root_target;
bool has_transparent_background;
- array<Quad> quads;
+ array<DrawQuad> quads;
array<cc.mojom.SharedQuadState> shared_quad_states;
};
« 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