Index: content/common/gpu_stream_constants.h |
diff --git a/content/common/gpu_stream_constants.h b/content/common/gpu_stream_constants.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f3b0254aa7aa414dd26d48e2606d81459f2dae29 |
--- /dev/null |
+++ b/content/common/gpu_stream_constants.h |
@@ -0,0 +1,26 @@ |
+// 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_ |