| // Copyright 2015 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. |
| |
| #include "gpu/command_buffer/common/sync_token.h" |
| |
| namespace gpu { |
| |
| SyncToken::SyncToken() |
| : verified_flush_(false), |
| namespace_id_(CommandBufferNamespace::INVALID), |
| release_count_(0) {} |
| |
| SyncToken::SyncToken(CommandBufferNamespace namespace_id, |
| CommandBufferId command_buffer_id, |
| uint64_t release_count) |
| : verified_flush_(false), |
| namespace_id_(namespace_id), |
| command_buffer_id_(command_buffer_id), |
| release_count_(release_count) {} |
| |
| SyncToken::SyncToken(const SyncToken& other) = default; |
| |
| } // namespace gpu |