summaryrefslogtreecommitdiff
path: root/chromium/gpu/ipc/common/sync_token.mojom
blob: a159f655638ab5a0eabc9f6982c032680d0991e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module gpu.mojom;

// See gpu/command_buffer/common/constants.h
enum CommandBufferNamespace {
  INVALID = -1,

  GPU_IO,
  IN_PROCESS,
  MOJO,
  MOJO_LOCAL
};

// See gpu/command_buffer/common/sync_token.h
struct SyncToken {
  bool verified_flush;
  CommandBufferNamespace namespace_id;
  uint64 command_buffer_id;
  uint64 release_count;
};