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

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

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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_mac.mm ('k') | gpu/gpu.gyp » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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.h" 5 #include "gpu/config/gpu_info_collector.h"
6 6
7 // This has to be included before windows.h. 7 // This has to be included before windows.h.
8 #include "third_party/re2/re2/re2.h" 8 #include "third_party/re2/re2/re2.h"
9 9
10 #include <windows.h> 10 #include <windows.h>
11 #include <d3d9.h> 11 #include <d3d9.h>
12 #include <d3d11.h> 12 #include <d3d11.h>
13 #include <dxgi.h> 13 #include <dxgi.h>
14 #include <setupapi.h> 14 #include <setupapi.h>
15 15
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/debug/trace_event.h"
18 #include "base/files/file_enumerator.h" 17 #include "base/files/file_enumerator.h"
19 #include "base/files/file_path.h" 18 #include "base/files/file_path.h"
20 #include "base/files/file_util.h" 19 #include "base/files/file_util.h"
21 #include "base/logging.h" 20 #include "base/logging.h"
22 #include "base/message_loop/message_loop.h" 21 #include "base/message_loop/message_loop.h"
23 #include "base/metrics/field_trial.h" 22 #include "base/metrics/field_trial.h"
24 #include "base/metrics/histogram.h" 23 #include "base/metrics/histogram.h"
25 #include "base/scoped_native_library.h" 24 #include "base/scoped_native_library.h"
26 #include "base/strings/string16.h" 25 #include "base/strings/string16.h"
27 #include "base/strings/string_number_conversions.h" 26 #include "base/strings/string_number_conversions.h"
28 #include "base/strings/string_util.h" 27 #include "base/strings/string_util.h"
29 #include "base/strings/stringprintf.h" 28 #include "base/strings/stringprintf.h"
30 #include "base/strings/utf_string_conversions.h" 29 #include "base/strings/utf_string_conversions.h"
31 #include "base/threading/thread.h" 30 #include "base/threading/thread.h"
32 #include "base/threading/worker_pool.h" 31 #include "base/threading/worker_pool.h"
32 #include "base/trace_event/trace_event.h"
33 #include "base/win/registry.h" 33 #include "base/win/registry.h"
34 #include "base/win/scoped_com_initializer.h" 34 #include "base/win/scoped_com_initializer.h"
35 #include "base/win/scoped_comptr.h" 35 #include "base/win/scoped_comptr.h"
36 #include "base/win/windows_version.h" 36 #include "base/win/windows_version.h"
37 #include "third_party/libxml/chromium/libxml_utils.h" 37 #include "third_party/libxml/chromium/libxml_utils.h"
38 #include "ui/gl/gl_implementation.h" 38 #include "ui/gl/gl_implementation.h"
39 #include "ui/gl/gl_surface_egl.h" 39 #include "ui/gl/gl_surface_egl.h"
40 40
41 namespace gpu { 41 namespace gpu {
42 42
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
704 shader_model, 704 shader_model,
705 NUM_SHADER_MODELS); 705 NUM_SHADER_MODELS);
706 } 706 }
707 707
708 MergeGPUInfoGL(basic_gpu_info, context_gpu_info); 708 MergeGPUInfoGL(basic_gpu_info, context_gpu_info);
709 709
710 basic_gpu_info->dx_diagnostics = context_gpu_info.dx_diagnostics; 710 basic_gpu_info->dx_diagnostics = context_gpu_info.dx_diagnostics;
711 } 711 }
712 712
713 } // namespace gpu 713 } // namespace gpu
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector_mac.mm ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698