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

Unified Diff: ui/gfx/mojo/transform.mojom

Issue 2028573003: Implement gfx::Transform StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing build file 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
« no previous file with comments | « ui/gfx/mojo/mojo_transform_export.h ('k') | ui/gfx/mojo/transform.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/mojo/transform.mojom
diff --git a/cc/ipc/render_pass_id.mojom b/ui/gfx/mojo/transform.mojom
similarity index 60%
copy from cc/ipc/render_pass_id.mojom
copy to ui/gfx/mojo/transform.mojom
index 90eee184925025d5d948c49e6af692ec5ec2a04e..1ce0e753f5f55f78ffdc893169308002f6678a42 100644
--- a/cc/ipc/render_pass_id.mojom
+++ b/ui/gfx/mojo/transform.mojom
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module cc.mojom;
+module gfx.mojom;
-struct RenderPassId {
- int32 layer_id;
- uint32 index;
+// See ui/gfx/transform.h.
+struct Transform {
+ // Row major order.
+ array<float, 16> matrix;
};
« no previous file with comments | « ui/gfx/mojo/mojo_transform_export.h ('k') | ui/gfx/mojo/transform.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698