OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef GPU_IPC_COMMON_GPU_STREAM_CONSTANTS_H_ | 5 #ifndef GPU_IPC_COMMON_GPU_STREAM_CONSTANTS_H_ |
6 #define GPU_IPC_COMMON_GPU_STREAM_CONSTANTS_H_ | 6 #define GPU_IPC_COMMON_GPU_STREAM_CONSTANTS_H_ |
7 | 7 |
8 namespace gpu { | 8 namespace gpu { |
9 | 9 |
10 enum class GpuStreamPriority { REAL_TIME, HIGH, NORMAL, LOW, LAST = LOW }; | 10 enum class GpuStreamPriority { REAL_TIME, HIGH, NORMAL, LOW, LAST = LOW }; |
11 | 11 |
12 enum GpuStreamId { GPU_STREAM_DEFAULT = -1, GPU_STREAM_INVALID = 0 }; | 12 enum GpuStreamId { GPU_STREAM_DEFAULT = 0 }; |
13 | 13 |
14 } // namespace gpu | 14 } // namespace gpu |
15 | 15 |
16 #endif // GPU_IPC_COMMON_GPU_STREAM_CONSTANTS_H_ | 16 #endif // GPU_IPC_COMMON_GPU_STREAM_CONSTANTS_H_ |
OLD | NEW |