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

Side by Side 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, 6 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module gpu.mojom; 5 module gpu.mojom;
6 6
7 [Native] 7 // See gpu/command_buffer/common/constants.h
8 struct SyncToken; 8 enum CommandBufferNamespace {
9 INVALID = -1,
10
11 GPU_IO,
12 IN_PROCESS,
13 MOJO,
14 MOJO_LOCAL,
15
16 NUM_COMMAND_BUFFER_NAMESPACES
17 };
18
19 // See gpu/command_buffer/common/sync_token.h
20 struct SyncToken {
21 bool verified_flush;
22 CommandBufferNamespace namespace_id;
23 int32 extra_data_field;
24 uint64 command_buffer_id;
25 uint64 release_count;
26 };
OLDNEW
« 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