OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef GPU_CONFIG_GPU_CRASH_KEYS_H_ |
| 6 #define GPU_CONFIG_GPU_CRASH_KEYS_H_ |
| 7 |
| 8 #include "build/build_config.h" |
| 9 |
| 10 namespace gpu { |
| 11 namespace crash_keys { |
| 12 |
| 13 // Keys that can be used for crash reporting. |
| 14 #if !defined(OS_ANDROID) |
| 15 extern const char kGPUVendorID[]; |
| 16 extern const char kGPUDeviceID[]; |
| 17 #endif |
| 18 extern const char kGPUDriverVersion[]; |
| 19 extern const char kGPUPixelShaderVersion[]; |
| 20 extern const char kGPUVertexShaderVersion[]; |
| 21 #if defined(OS_MACOSX) |
| 22 extern const char kGPUGLVersion[]; |
| 23 #elif defined(OS_POSIX) |
| 24 extern const char kGPUVendor[]; |
| 25 extern const char kGPURenderer[]; |
| 26 #endif |
| 27 } // namespace crash_keys |
| 28 } // namespace gpu |
| 29 |
| 30 #endif // GPU_CONFIG_GPU_CRASH_KEYS_H_ |
OLD | NEW |