| // Copyright (c) 2017 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 CONTENT_COMMON_GPU_STREAM_CONSTANTS_H_ |
| #define CONTENT_COMMON_GPU_STREAM_CONSTANTS_H_ |
| |
| #include "gpu/command_buffer/common/scheduling_priority.h" |
| |
| namespace content { |
| |
| enum { |
| kGpuStreamIdDefault, |
| kGpuStreamIdWorker, |
| }; |
| |
| const gpu::SchedulingPriority kGpuStreamPriorityDefault = |
| gpu::SchedulingPriority::kNormal; |
| const gpu::SchedulingPriority kGpuStreamPriorityUI = |
| gpu::SchedulingPriority::kHighest; |
| const gpu::SchedulingPriority kGpuStreamPriorityWorker = |
| gpu::SchedulingPriority::kLowest; |
| |
| } // namespace content |
| |
| #endif // CONTENT_COMMON_GPU_STREAM_CONSTANTS_H_ |