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

Side by Side Diff: cc/resources/raster_mode.cc

Issue 603683006: cc: Remove low quality mode and cleanup tile versions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove paint_simplifier include Created 6 years, 2 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 2013 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 "cc/resources/raster_mode.h"
6
7 #include "base/logging.h"
8 #include "base/memory/scoped_ptr.h"
9 #include "base/values.h"
10
11 namespace cc {
12
13 std::string RasterModeToString(RasterMode raster_mode) {
14 switch (raster_mode) {
15 case HIGH_QUALITY_RASTER_MODE:
16 return "HIGH_QUALITY_RASTER_MODE";
17 case LOW_QUALITY_RASTER_MODE:
18 return "LOW_QUALITY_RASTER_MODE";
19 default:
20 NOTREACHED() << "Unrecognized RasterMode value " << raster_mode;
21 return "<unknown RasterMode value>";
22 }
23 }
24
25 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698