blob: 9218c7a002294e867ece1f92619e214e6f5c173a [file] [log] [blame]
sadrulc05f3472017-03-23 20:30:051// 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#include "gpu/config/gpu_crash_keys.h"
6
7namespace gpu {
8namespace crash_keys {
Sunny Sachanandaniac4fed42017-06-28 01:44:559
sadrulc05f3472017-03-23 20:30:0510#if !defined(OS_ANDROID)
Robert Sesekd7329222017-12-08 15:31:0811crash_reporter::CrashKeyString<16> gpu_vendor_id("gpu-venid");
12crash_reporter::CrashKeyString<16> gpu_device_id("gpu-devid");
sadrulc05f3472017-03-23 20:30:0513#endif
Robert Sesekd7329222017-12-08 15:31:0814crash_reporter::CrashKeyString<64> gpu_driver_version("gpu-driver");
15crash_reporter::CrashKeyString<16> gpu_pixel_shader_version("gpu-psver");
16crash_reporter::CrashKeyString<16> gpu_vertex_shader_version("gpu-vsver");
sadrulc05f3472017-03-23 20:30:0517#if defined(OS_MACOSX)
Robert Sesekd7329222017-12-08 15:31:0818crash_reporter::CrashKeyString<64> gpu_gl_version("gpu-glver");
sadrulc05f3472017-03-23 20:30:0519#elif defined(OS_POSIX)
Robert Sesekd7329222017-12-08 15:31:0820crash_reporter::CrashKeyString<256> gpu_vendor("gpu-gl-vendor");
21crash_reporter::CrashKeyString<128> gpu_renderer("gpu-gl-renderer");
sadrulc05f3472017-03-23 20:30:0522#endif
Robert Sesekd7329222017-12-08 15:31:0823crash_reporter::CrashKeyString<4> gpu_gl_context_is_virtual(
24 "gpu-gl-context-is-virtual");
Sunny Sachanandania2c68af2017-06-22 02:23:3525
sadrulc05f3472017-03-23 20:30:0526} // namespace crash_keys
27} // namespace gpu