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

Side by Side Diff: gpu/command_buffer/service/mailbox_manager_sync.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/service/mailbox_manager_sync.h" 5 #include "gpu/command_buffer/service/mailbox_manager_sync.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <queue> 10 #include <queue>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 return it->second; 159 return it->second;
160 } 160 }
161 return NULL; 161 return NULL;
162 } 162 }
163 163
164 MailboxManagerSync::TextureGroupRef::TextureGroupRef(unsigned version, 164 MailboxManagerSync::TextureGroupRef::TextureGroupRef(unsigned version,
165 TextureGroup* group) 165 TextureGroup* group)
166 : version(version), group(group) { 166 : version(version), group(group) {
167 } 167 }
168 168
169 MailboxManagerSync::TextureGroupRef::TextureGroupRef(
170 const TextureGroupRef& other) = default;
171
169 MailboxManagerSync::TextureGroupRef::~TextureGroupRef() { 172 MailboxManagerSync::TextureGroupRef::~TextureGroupRef() {
170 } 173 }
171 174
172 MailboxManagerSync::MailboxManagerSync() { 175 MailboxManagerSync::MailboxManagerSync() {
173 } 176 }
174 177
175 MailboxManagerSync::~MailboxManagerSync() { 178 MailboxManagerSync::~MailboxManagerSync() {
176 DCHECK_EQ(0U, texture_to_group_.size()); 179 DCHECK_EQ(0U, texture_to_group_.size());
177 } 180 }
178 181
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 334
332 if (!needs_update.empty()) { 335 if (!needs_update.empty()) {
333 for (const TextureUpdatePair& pair : needs_update) { 336 for (const TextureUpdatePair& pair : needs_update) {
334 pair.second.UpdateTexture(pair.first); 337 pair.second.UpdateTexture(pair.first);
335 } 338 }
336 } 339 }
337 } 340 }
338 341
339 } // namespace gles2 342 } // namespace gles2
340 } // namespace gpu 343 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/mailbox_manager_sync.h ('k') | gpu/command_buffer/service/program_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698