OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "blimp/common/compositor/blimp_layer_tree_settings.h" | 5 #include "blimp/client/compositor/blimp_layer_tree_settings.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/strings/string_split.h" | 11 #include "base/strings/string_split.h" |
12 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
13 #include "cc/base/switches.h" | 13 #include "cc/base/switches.h" |
14 #include "cc/trees/layer_tree_settings.h" | 14 #include "cc/trees/layer_tree_settings.h" |
15 #include "content/public/common/content_switches.h" | 15 #include "content/public/common/content_switches.h" |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 261 |
262 if (cmd.HasSwitch(switches::kEnableLowResTiling)) | 262 if (cmd.HasSwitch(switches::kEnableLowResTiling)) |
263 settings->create_low_res_tiling = true; | 263 settings->create_low_res_tiling = true; |
264 if (cmd.HasSwitch(switches::kDisableLowResTiling)) | 264 if (cmd.HasSwitch(switches::kDisableLowResTiling)) |
265 settings->create_low_res_tiling = false; | 265 settings->create_low_res_tiling = false; |
266 if (cmd.HasSwitch(cc::switches::kEnableBeginFrameScheduling)) | 266 if (cmd.HasSwitch(cc::switches::kEnableBeginFrameScheduling)) |
267 settings->use_external_begin_frame_source = true; | 267 settings->use_external_begin_frame_source = true; |
268 } | 268 } |
269 | 269 |
270 } // namespace blimp | 270 } // namespace blimp |
OLD | NEW |