OLD | NEW |
| (Empty) |
1 // Copyright (c) 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 #ifndef CONTENT_COMMON_GPU_STREAM_CONSTANTS_H_ | |
6 #define CONTENT_COMMON_GPU_STREAM_CONSTANTS_H_ | |
7 | |
8 #include "gpu/command_buffer/common/scheduling_priority.h" | |
9 | |
10 namespace content { | |
11 | |
12 enum { | |
13 kGpuStreamIdDefault, | |
14 kGpuStreamIdWorker, | |
15 }; | |
16 | |
17 const gpu::SchedulingPriority kGpuStreamPriorityDefault = | |
18 gpu::SchedulingPriority::kNormal; | |
19 const gpu::SchedulingPriority kGpuStreamPriorityUI = | |
20 gpu::SchedulingPriority::kHighest; | |
21 const gpu::SchedulingPriority kGpuStreamPriorityWorker = | |
22 gpu::SchedulingPriority::kLowest; | |
23 | |
24 } // namespace content | |
25 | |
26 #endif // CONTENT_COMMON_GPU_STREAM_CONSTANTS_H_ | |
OLD | NEW |