summaryrefslogtreecommitdiff
path: root/chromium/gpu/config/gpu_domain_guilt.h
blob: 21d0bd6f0c35c157ed67ee57717ff463990f6a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef GPU_CONFIG_GPU_DOMAIN_GUILT_H_
#define GPU_CONFIG_GPU_DOMAIN_GUILT_H_

namespace gpu {

// Indicates the guilt level of a domain which caused a GPU reset. If a domain
// is 100% known to be guilty of resetting the GPU, then it will generally not
// cause other domains' use of 3D APIs to be blocked, unless system stability
// would be compromised.
enum class DomainGuilt {
  kKnown,
  kUnknown,
};

}  // namespace gpu

#endif  // GPU_CONFIG_GPU_DOMAIN_GUILT_H_