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); |
+}; |