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

Unified Diff: cc/ipc/texture_mailbox.mojom

Issue 2651793007: Implemented StructTraits for cc::TextureMailbox (Closed)
Patch Set: c Created 3 years, 11 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/struct_traits_unittest.cc ('k') | cc/ipc/texture_mailbox.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/texture_mailbox.mojom
diff --git a/cc/ipc/texture_mailbox.mojom b/cc/ipc/texture_mailbox.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..90a92b727c0fa7ad6b202ebe6816d715de165eae
--- /dev/null
+++ b/cc/ipc/texture_mailbox.mojom
@@ -0,0 +1,22 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module cc.mojom;
+
+import "gpu/ipc/common/mailbox_holder.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
+import "ui/gfx/mojo/color_space.mojom";
+
+// TODO(samans): Add shared_bitmap. See crbug.com/686221.
+// See cc/resources/texture_mailbox.h.
+struct TextureMailbox {
+ gpu.mojom.MailboxHolder mailbox_holder;
+ gfx.mojom.Size size_in_pixels;
+ bool is_overlay_candidate;
+ bool is_backed_by_surface_texture;
+ bool wants_promotion_hint;
+ bool secure_output_only;
+ bool nearest_neighbor;
+ gfx.mojom.ColorSpace color_space;
+};
« no previous file with comments | « cc/ipc/struct_traits_unittest.cc ('k') | cc/ipc/texture_mailbox.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698