1 // Copyright 2018 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_DOMAIN_GUILT_H_
6 #define GPU_CONFIG_GPU_DOMAIN_GUILT_H_
7 
8 namespace gpu {
9 
10 // Indicates the guilt level of a domain which caused a GPU reset. If a domain
11 // is 100% known to be guilty of resetting the GPU, then it will generally not
12 // cause other domains' use of 3D APIs to be blocked, unless system stability
13 // would be compromised.
14 enum class DomainGuilt {
15   kKnown,
16   kUnknown,
17 };
18 
19 }  // namespace gpu
20 
21 #endif  // GPU_CONFIG_GPU_DOMAIN_GUILT_H_
22