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

Unified Diff: components/mus/public/interfaces/quads.mojom

Issue 2011263002: Implement RenderPassId StructTrait (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 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
Index: components/mus/public/interfaces/quads.mojom
diff --git a/components/mus/public/interfaces/quads.mojom b/components/mus/public/interfaces/quads.mojom
index 3f07315e69afdc851f5f14c4d056aa30fa412edc..4dea09b404c7db4911b02d3a9a16c4432369e17b 100644
--- a/components/mus/public/interfaces/quads.mojom
+++ b/components/mus/public/interfaces/quads.mojom
@@ -4,6 +4,7 @@
module mus.mojom;
+import "cc/ipc/render_pass_id.mojom";
import "cc/ipc/surface_id.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
@@ -31,13 +32,8 @@ struct DebugBorderQuadState {
// TODO(jamesr): Populate subtype fields.
struct IoSurfaceContentQuadState {};
-struct RenderPassId {
- int32 layer_id;
- uint32 index;
-};
-
struct RenderPassQuadState {
- RenderPassId render_pass_id;
+ cc.mojom.RenderPassId render_pass_id;
// If nonzero, resource id of mask to use when drawing this pass.
uint32 mask_resource_id;
@@ -220,7 +216,7 @@ struct SharedQuadState {
};
struct Pass {
- RenderPassId id;
+ cc.mojom.RenderPassId id;
mojo.Rect output_rect;
mojo.Rect damage_rect;
mojo.Transform transform_to_root_target;

Powered by Google App Engine
This is Rietveld 408576698