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

Side by Side Diff: gpu/command_buffer/service/sampler_manager.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: convert newly added scoped_ptr's Created 4 years, 8 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 (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_
7 7
8 #include <memory>
no sievers 2016/04/18 21:05:33 nit: unused
Mostyn Bramley-Moore 2016/04/18 21:47:01 Removed.
8 #include <vector> 9 #include <vector>
10
9 #include "base/containers/hash_tables.h" 11 #include "base/containers/hash_tables.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/macros.h" 13 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "gpu/command_buffer/service/feature_info.h" 15 #include "gpu/command_buffer/service/feature_info.h"
15 #include "gpu/command_buffer/service/gl_utils.h" 16 #include "gpu/command_buffer/service/gl_utils.h"
16 #include "gpu/gpu_export.h" 17 #include "gpu/gpu_export.h"
17 18
18 namespace gpu { 19 namespace gpu {
19 20
20 namespace gles2 { 21 namespace gles2 {
21 22
22 class SamplerManager; 23 class SamplerManager;
23 24
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 163
163 bool have_context_; 164 bool have_context_;
164 165
165 DISALLOW_COPY_AND_ASSIGN(SamplerManager); 166 DISALLOW_COPY_AND_ASSIGN(SamplerManager);
166 }; 167 };
167 168
168 } // namespace gles2 169 } // namespace gles2
169 } // namespace gpu 170 } // namespace gpu
170 171
171 #endif // GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_ 172 #endif // GPU_COMMAND_BUFFER_SERVICE_SAMPLER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698