| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 "cc/layer_tree_settings.h" | 5 #include "cc/layer_tree_settings.h" |
| 6 | 6 |
| 7 #include <limits> | 7 #include <limits> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 , pageScalePinchZoomEnabled(false) | 25 , pageScalePinchZoomEnabled(false) |
| 26 , backgroundColorInsteadOfCheckerboard(false) | 26 , backgroundColorInsteadOfCheckerboard(false) |
| 27 , showOverdrawInTracing(false) | 27 , showOverdrawInTracing(false) |
| 28 , canUseLCDText(true) | 28 , canUseLCDText(true) |
| 29 , shouldClearRootRenderPass(true) | 29 , shouldClearRootRenderPass(true) |
| 30 , useLinearFadeScrollbarAnimator(false) | 30 , useLinearFadeScrollbarAnimator(false) |
| 31 , calculateTopControlsPosition(false) | 31 , calculateTopControlsPosition(false) |
| 32 , useCheapnessEstimator(false) | 32 , useCheapnessEstimator(false) |
| 33 , useMemoryManagement(true) | 33 , useMemoryManagement(true) |
| 34 , minimumContentsScale(0.0625f) | 34 , minimumContentsScale(0.0625f) |
| 35 , lowResContentsScaleFactor(0.125f) | 35 , lowResContentsScaleFactor(0.25f) |
| 36 , topControlsHeight(0.f) | 36 , topControlsHeight(0.f) |
| 37 , refreshRate(0) | 37 , refreshRate(0) |
| 38 , maxPartialTextureUpdates(std::numeric_limits<size_t>::max()) | 38 , maxPartialTextureUpdates(std::numeric_limits<size_t>::max()) |
| 39 , numRasterThreads(1) | 39 , numRasterThreads(1) |
| 40 , defaultTileSize(gfx::Size(256, 256)) | 40 , defaultTileSize(gfx::Size(256, 256)) |
| 41 , maxUntiledLayerSize(gfx::Size(512, 512)) | 41 , maxUntiledLayerSize(gfx::Size(512, 512)) |
| 42 , minimumOcclusionTrackingSize(gfx::Size(160, 160)) | 42 , minimumOcclusionTrackingSize(gfx::Size(160, 160)) |
| 43 { | 43 { |
| 44 } | 44 } |
| 45 | 45 |
| 46 LayerTreeSettings::~LayerTreeSettings() | 46 LayerTreeSettings::~LayerTreeSettings() |
| 47 { | 47 { |
| 48 } | 48 } |
| 49 | 49 |
| 50 } // namespace cc | 50 } // namespace cc |
| OLD | NEW |