OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "gpu/command_buffer/common/sync_token.h" |
| 6 |
| 7 namespace gpu { |
| 8 |
| 9 SyncToken::SyncToken() |
| 10 : verified_flush_(false), |
| 11 namespace_id_(CommandBufferNamespace::INVALID), |
| 12 extra_data_field_(0), |
| 13 release_count_(0) {} |
| 14 |
| 15 SyncToken::SyncToken(CommandBufferNamespace namespace_id, |
| 16 int32_t extra_data_field, |
| 17 CommandBufferId command_buffer_id, |
| 18 uint64_t release_count) |
| 19 : verified_flush_(false), |
| 20 namespace_id_(namespace_id), |
| 21 extra_data_field_(extra_data_field), |
| 22 command_buffer_id_(command_buffer_id), |
| 23 release_count_(release_count) {} |
| 24 |
| 25 } // namespace gpu |
OLD | NEW |