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

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl_private.cc

Issue 2322123002: gpu: Introduce GpuInit. (Closed)
Patch Set: . Created 4 years, 3 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/browser/gpu/gpu_data_manager_impl_private.h" 5 #include "content/browser/gpu/gpu_data_manager_impl_private.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 19 matching lines...) Expand all
30 #include "content/public/common/web_preferences.h" 30 #include "content/public/common/web_preferences.h"
31 #include "gpu/command_buffer/service/gpu_preferences.h" 31 #include "gpu/command_buffer/service/gpu_preferences.h"
32 #include "gpu/command_buffer/service/gpu_switches.h" 32 #include "gpu/command_buffer/service/gpu_switches.h"
33 #include "gpu/config/gpu_control_list_jsons.h" 33 #include "gpu/config/gpu_control_list_jsons.h"
34 #include "gpu/config/gpu_driver_bug_workaround_type.h" 34 #include "gpu/config/gpu_driver_bug_workaround_type.h"
35 #include "gpu/config/gpu_feature_type.h" 35 #include "gpu/config/gpu_feature_type.h"
36 #include "gpu/config/gpu_info_collector.h" 36 #include "gpu/config/gpu_info_collector.h"
37 #include "gpu/config/gpu_switches.h" 37 #include "gpu/config/gpu_switches.h"
38 #include "gpu/config/gpu_util.h" 38 #include "gpu/config/gpu_util.h"
39 #include "gpu/ipc/common/memory_stats.h" 39 #include "gpu/ipc/common/memory_stats.h"
40 #include "gpu/ipc/service/switches.h"
40 #include "ui/base/ui_base_switches.h" 41 #include "ui/base/ui_base_switches.h"
41 #include "ui/gl/gl_implementation.h" 42 #include "ui/gl/gl_implementation.h"
42 #include "ui/gl/gl_switches.h" 43 #include "ui/gl/gl_switches.h"
43 #include "ui/gl/gpu_switching_manager.h" 44 #include "ui/gl/gpu_switching_manager.h"
44 45
45 #if defined(OS_MACOSX) 46 #if defined(OS_MACOSX)
46 #include <ApplicationServices/ApplicationServices.h> 47 #include <ApplicationServices/ApplicationServices.h>
47 #endif // OS_MACOSX 48 #endif // OS_MACOSX
48 #if defined(OS_WIN) 49 #if defined(OS_WIN)
49 #include "base/win/windows_version.h" 50 #include "base/win/windows_version.h"
(...skipping 1254 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 gpu_info_.context_info_state = gpu::kCollectInfoFatalFailure; 1305 gpu_info_.context_info_state = gpu::kCollectInfoFatalFailure;
1305 #if defined(OS_WIN) 1306 #if defined(OS_WIN)
1306 gpu_info_.dx_diagnostics_info_state = gpu::kCollectInfoFatalFailure; 1307 gpu_info_.dx_diagnostics_info_state = gpu::kCollectInfoFatalFailure;
1307 #endif 1308 #endif
1308 complete_gpu_info_already_requested_ = true; 1309 complete_gpu_info_already_requested_ = true;
1309 // Some observers might be waiting. 1310 // Some observers might be waiting.
1310 NotifyGpuInfoUpdate(); 1311 NotifyGpuInfoUpdate();
1311 } 1312 }
1312 1313
1313 } // namespace content 1314 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698