Chromium Code Reviews| Index: cc/base/switches.cc |
| diff --git a/cc/base/switches.cc b/cc/base/switches.cc |
| index be4a2c55adfbcb22214a0a92439f59da8fd112e2..3ec503dd6ff8c6a6424d7473c219e4f7c03629a8 100644 |
| --- a/cc/base/switches.cc |
| +++ b/cc/base/switches.cc |
| @@ -151,6 +151,9 @@ const char kDisable4444Textures[] = "disable-4444-textures"; |
| const char kDisableCompositorTouchHitTesting[] = |
| "disable-compositor-touch-hit-testing"; |
| +// Enable tile rasterization with Ganesh. |
| +const char kEnableGpuRasterizing[] = "enable-gpu-rasterizing"; |
| + |
| bool IsLCDTextEnabled() { |
| const CommandLine* command_line = CommandLine::ForCurrentProcess(); |
| if (command_line->HasSwitch(cc::switches::kDisableLCDText)) |
| @@ -198,5 +201,10 @@ bool IsMapImageEnabled() { |
| return false; |
| } |
| +bool IsGpuRasterizingEnabled() { |
|
reveman
2013/11/24 21:56:57
Do we need this helper function when it just retur
slavi
2013/11/25 23:13:14
Also removed. See humper's patch.
|
| + const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
| + return command_line.HasSwitch(cc::switches::kEnableGpuRasterizing); |
| +} |
| + |
| } // namespace switches |
| } // namespace cc |