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

Side by Side Diff: gpu/config/gpu_info_collector_linux.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | gpu/config/gpu_info_collector_mac.mm » ('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 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/config/gpu_info_collector_linux.h" 5 #include "gpu/config/gpu_info_collector_linux.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/files/file_util.h" 13 #include "base/files/file_util.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/scoped_ptr.h"
16 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
17 #include "base/strings/string_piece.h" 16 #include "base/strings/string_piece.h"
18 #include "base/strings/string_split.h" 17 #include "base/strings/string_split.h"
19 #include "base/strings/string_tokenizer.h" 18 #include "base/strings/string_tokenizer.h"
20 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
21 #include "base/trace_event/trace_event.h" 20 #include "base/trace_event/trace_event.h"
22 #include "gpu/config/gpu_info_collector.h" 21 #include "gpu/config/gpu_info_collector.h"
23 #include "ui/gl/gl_bindings.h" 22 #include "ui/gl/gl_bindings.h"
24 #include "ui/gl/gl_context.h" 23 #include "ui/gl/gl_context.h"
25 #include "ui/gl/gl_implementation.h" 24 #include "ui/gl/gl_implementation.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 gpu_info->driver_version = driver_version; 268 gpu_info->driver_version = driver_version;
270 return kCollectInfoSuccess; 269 return kCollectInfoSuccess;
271 } 270 }
272 271
273 void MergeGPUInfo(GPUInfo* basic_gpu_info, 272 void MergeGPUInfo(GPUInfo* basic_gpu_info,
274 const GPUInfo& context_gpu_info) { 273 const GPUInfo& context_gpu_info) {
275 MergeGPUInfoGL(basic_gpu_info, context_gpu_info); 274 MergeGPUInfoGL(basic_gpu_info, context_gpu_info);
276 } 275 }
277 276
278 } // namespace gpu 277 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | gpu/config/gpu_info_collector_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698