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

Side by Side Diff: gpu/command_buffer/common/gpu_stream_constants.cc

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 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 #include "gpu/command_buffer/common/gpu_stream_constants.h"
6
7 #include "base/logging.h"
8
9 namespace gpu {
10
11 const char* GpuStreamPriorityToString(GpuStreamPriority priority) {
12 switch (priority) {
13 case GpuStreamPriority::REAL_TIME:
14 return "REAL_TIME";
15 case GpuStreamPriority::HIGH:
16 return "HIGH";
17 case GpuStreamPriority::NORMAL:
18 return "NORMAL";
19 case GpuStreamPriority::LOW:
20 return "LOW";
21 }
22 NOTREACHED();
23 return "";
24 }
25
26 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698