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

Unified Diff: gpu/ipc/common/sync_token.mojom

Issue 2019833002: Implement StructTraits for various cc and gpu types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mailbox_name by ref to make windows happy 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 | « gpu/ipc/common/struct_traits_unittest.cc ('k') | gpu/ipc/common/sync_token.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/sync_token.mojom
diff --git a/gpu/ipc/common/sync_token.mojom b/gpu/ipc/common/sync_token.mojom
index 248ad315f864eae64301195c98995afd7e580f00..81bd5f01b78aaab7347d74c0c2798beda9849425 100644
--- a/gpu/ipc/common/sync_token.mojom
+++ b/gpu/ipc/common/sync_token.mojom
@@ -4,5 +4,23 @@
module gpu.mojom;
-[Native]
-struct SyncToken;
+// See gpu/command_buffer/common/constants.h
+enum CommandBufferNamespace {
+ INVALID = -1,
+
+ GPU_IO,
+ IN_PROCESS,
+ MOJO,
+ MOJO_LOCAL,
+
+ NUM_COMMAND_BUFFER_NAMESPACES
+};
+
+// See gpu/command_buffer/common/sync_token.h
+struct SyncToken {
+ bool verified_flush;
+ CommandBufferNamespace namespace_id;
+ int32 extra_data_field;
+ uint64 command_buffer_id;
+ uint64 release_count;
+};
« no previous file with comments | « gpu/ipc/common/struct_traits_unittest.cc ('k') | gpu/ipc/common/sync_token.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698