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

Side by Side Diff: gpu/command_buffer/common/sync_token.cc

Issue 1725113002: gpu: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/command_buffer/common/sync_token.h ('k') | gpu/command_buffer/service/context_state.h » ('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 2015 The Chromium Authors. All rights reserved. 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 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 #include "gpu/command_buffer/common/sync_token.h" 5 #include "gpu/command_buffer/common/sync_token.h"
6 6
7 namespace gpu { 7 namespace gpu {
8 8
9 SyncToken::SyncToken() 9 SyncToken::SyncToken()
10 : verified_flush_(false), 10 : verified_flush_(false),
11 namespace_id_(CommandBufferNamespace::INVALID), 11 namespace_id_(CommandBufferNamespace::INVALID),
12 extra_data_field_(0), 12 extra_data_field_(0),
13 release_count_(0) {} 13 release_count_(0) {}
14 14
15 SyncToken::SyncToken(CommandBufferNamespace namespace_id, 15 SyncToken::SyncToken(CommandBufferNamespace namespace_id,
16 int32_t extra_data_field, 16 int32_t extra_data_field,
17 CommandBufferId command_buffer_id, 17 CommandBufferId command_buffer_id,
18 uint64_t release_count) 18 uint64_t release_count)
19 : verified_flush_(false), 19 : verified_flush_(false),
20 namespace_id_(namespace_id), 20 namespace_id_(namespace_id),
21 extra_data_field_(extra_data_field), 21 extra_data_field_(extra_data_field),
22 command_buffer_id_(command_buffer_id), 22 command_buffer_id_(command_buffer_id),
23 release_count_(release_count) {} 23 release_count_(release_count) {}
24 24
25 SyncToken::SyncToken(const SyncToken& other) = default;
26
25 } // namespace gpu 27 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/sync_token.h ('k') | gpu/command_buffer/service/context_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698