1 // Copyright 2020 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_IPC_COMMON_GPU_PEAK_MEMORY_H_
6 #define GPU_IPC_COMMON_GPU_PEAK_MEMORY_H_
7 
8 namespace gpu {
9 
10 enum class GpuPeakMemoryAllocationSource {
11   UNKNOWN,
12   COMMAND_BUFFER,
13   SHARED_CONTEXT_STATE,
14   SHARED_IMAGE_STUB,
15   SKIA,
16   GPU_PEAK_MEMORY_ALLOCATION_SOURCE_MAX = SKIA,
17 };
18 
19 }  // namespace gpu
20 
21 #endif  // GPU_IPC_COMMON_GPU_PEAK_MEMORY_H_
22