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

Side by Side Diff: cc/base/switches.h

Issue 184573002: Use MSAA in GPU rasterization if Skia suggests it (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: the hunk, actually Created 6 years, 9 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
« no previous file with comments | « no previous file | cc/base/switches.cc » ('j') | cc/resources/resource_provider.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Defines all the "cc" command-line switches. 5 // Defines all the "cc" command-line switches.
6 6
7 #ifndef CC_BASE_SWITCHES_H_ 7 #ifndef CC_BASE_SWITCHES_H_
8 #define CC_BASE_SWITCHES_H_ 8 #define CC_BASE_SWITCHES_H_
9 9
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 CC_EXPORT extern const char kUIShowOccludingRects[]; 65 CC_EXPORT extern const char kUIShowOccludingRects[];
66 CC_EXPORT extern const char kShowNonOccludingRects[]; 66 CC_EXPORT extern const char kShowNonOccludingRects[];
67 CC_EXPORT extern const char kUIShowNonOccludingRects[]; 67 CC_EXPORT extern const char kUIShowNonOccludingRects[];
68 68
69 // Unit test related. 69 // Unit test related.
70 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[]; 70 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[];
71 CC_EXPORT extern const char kCCRebaselinePixeltests[]; 71 CC_EXPORT extern const char kCCRebaselinePixeltests[];
72 72
73 CC_EXPORT bool IsLCDTextEnabled(); 73 CC_EXPORT bool IsLCDTextEnabled();
74 CC_EXPORT bool IsGpuRasterizationEnabled(); 74 CC_EXPORT bool IsGpuRasterizationEnabled();
75 enum GpuRasterizationType {
76 GpuRasterizationGpu,
77 GpuRasterizationMsaa4,
78 GpuRasterizationMsaa16
79 };
80 CC_EXPORT GpuRasterizationType GetGpuRasterizationType();
75 CC_EXPORT bool IsImplSidePaintingEnabled(); 81 CC_EXPORT bool IsImplSidePaintingEnabled();
76 CC_EXPORT bool IsMapImageEnabled(); 82 CC_EXPORT bool IsMapImageEnabled();
77 83
78 } // namespace switches 84 } // namespace switches
79 } // namespace cc 85 } // namespace cc
80 86
81 #endif // CC_BASE_SWITCHES_H_ 87 #endif // CC_BASE_SWITCHES_H_
OLDNEW
« no previous file with comments | « no previous file | cc/base/switches.cc » ('j') | cc/resources/resource_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698