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

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

Issue 73923003: Shared Raster Worker Threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP - nits + code review changes Created 7 years 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 | « AUTHORS ('k') | cc/base/switches.cc » ('j') | cc/base/switches.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"
11 #include "cc/base/math_util.h"
reveman 2013/12/22 15:49:25 why are you adding this include?
11 12
12 // Since cc is used from the render process, anything that goes here also needs 13 // Since cc is used from the render process, anything that goes here also needs
13 // to be added to render_process_host_impl.cc. 14 // to be added to render_process_host_impl.cc.
14 15
15 namespace cc { 16 namespace cc {
16 namespace switches { 17 namespace switches {
17 18
18 // Switches for the renderer compositor only. 19 // Switches for the renderer compositor only.
19 CC_EXPORT extern const char kBackgroundColorInsteadOfCheckerboard[]; 20 CC_EXPORT extern const char kBackgroundColorInsteadOfCheckerboard[];
20 CC_EXPORT extern const char kDisableLCDText[]; 21 CC_EXPORT extern const char kDisableLCDText[];
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 CC_EXPORT extern const char kUIShowNonOccludingRects[]; 70 CC_EXPORT extern const char kUIShowNonOccludingRects[];
70 71
71 // Unit test related. 72 // Unit test related.
72 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[]; 73 CC_EXPORT extern const char kCCLayerTreeTestNoTimeout[];
73 CC_EXPORT extern const char kCCRebaselinePixeltests[]; 74 CC_EXPORT extern const char kCCRebaselinePixeltests[];
74 75
75 CC_EXPORT bool IsLCDTextEnabled(); 76 CC_EXPORT bool IsLCDTextEnabled();
76 CC_EXPORT bool IsImplSidePaintingEnabled(); 77 CC_EXPORT bool IsImplSidePaintingEnabled();
77 CC_EXPORT bool IsGPURasterizationEnabled(); 78 CC_EXPORT bool IsGPURasterizationEnabled();
78 CC_EXPORT bool IsMapImageEnabled(); 79 CC_EXPORT bool IsMapImageEnabled();
80 CC_EXPORT size_t GetNumRasterThreads();
79 81
80 } // namespace switches 82 } // namespace switches
81 } // namespace cc 83 } // namespace cc
82 84
83 #endif // CC_BASE_SWITCHES_H_ 85 #endif // CC_BASE_SWITCHES_H_
OLDNEW
« no previous file with comments | « AUTHORS ('k') | cc/base/switches.cc » ('j') | cc/base/switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698