Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: content/common/gpu_stream_constants.h

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: fix test dcheck failures Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/public/browser/gpu_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698