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

Side by Side Diff: gpu/config/gpu_util.h

Issue 2751103008: gpu: Add a util method to set crash-keys from a GPUInfo. (Closed)
Patch Set: comment Created 3 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
« no previous file with comments | « gpu/config/gpu_crash_keys.cc ('k') | gpu/config/gpu_util.cc » ('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 #ifndef GPU_CONFIG_GPU_UTIL_H_ 5 #ifndef GPU_CONFIG_GPU_UTIL_H_
6 #define GPU_CONFIG_GPU_UTIL_H_ 6 #define GPU_CONFIG_GPU_UTIL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 29 matching lines...) Expand all
40 GPU_EXPORT void InitializeDualGpusIfSupported( 40 GPU_EXPORT void InitializeDualGpusIfSupported(
41 const std::set<int>& driver_bug_workarounds); 41 const std::set<int>& driver_bug_workarounds);
42 42
43 // This function should only be called from the GPU process, or the Browser 43 // This function should only be called from the GPU process, or the Browser
44 // process while using in-process GPU. This function is safe to call at any 44 // process while using in-process GPU. This function is safe to call at any
45 // point, and is not dependent on sandbox initialization. 45 // point, and is not dependent on sandbox initialization.
46 GPU_EXPORT GpuFeatureInfo 46 GPU_EXPORT GpuFeatureInfo
47 GetGpuFeatureInfo(const GPUInfo& gpu_info, 47 GetGpuFeatureInfo(const GPUInfo& gpu_info,
48 const base::CommandLine& command_line); 48 const base::CommandLine& command_line);
49 49
50 GPU_EXPORT void SetKeysForCrashLogging(const GPUInfo& gpu_info);
51
50 } // namespace gpu 52 } // namespace gpu
51 53
52 #endif // GPU_CONFIG_GPU_UTIL_H_ 54 #endif // GPU_CONFIG_GPU_UTIL_H_
53 55
OLDNEW
« no previous file with comments | « gpu/config/gpu_crash_keys.cc ('k') | gpu/config/gpu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698