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

Unified Diff: cc/ipc/texture_mailbox_releaser.mojom

Issue 2686833003: CopyOutputResult must have a working release callback when received over mojo (Closed)
Patch Set: c Created 3 years, 10 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: cc/ipc/texture_mailbox_releaser.mojom
diff --git a/cc/ipc/texture_mailbox_releaser.mojom b/cc/ipc/texture_mailbox_releaser.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..e3aedadb148caa18b49674e701e35935a6997ecc
--- /dev/null
+++ b/cc/ipc/texture_mailbox_releaser.mojom
@@ -0,0 +1,14 @@
+// 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/sync_token.mojom";
+
+// This interface behaves similar to ReleaseCallback but works across process
+// boundaries. Once Release is called, it releases the TextureMailbox that it
+// is associated with.
+interface TextureMailboxReleaser {
+ Release(gpu.mojom.SyncToken sync_token, bool is_lost);
+};

Powered by Google App Engine
This is Rietveld 408576698