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 17 matching lines...) Expand all Loading... |
28 , showOverdrawInTracing(false) | 28 , showOverdrawInTracing(false) |
29 , canUseLCDText(true) | 29 , canUseLCDText(true) |
30 , shouldClearRootRenderPass(true) | 30 , shouldClearRootRenderPass(true) |
31 , useLinearFadeScrollbarAnimator(false) | 31 , useLinearFadeScrollbarAnimator(false) |
32 , solidColorScrollbars(false) | 32 , solidColorScrollbars(false) |
33 , solidColorScrollbarColor(SK_ColorWHITE) | 33 , solidColorScrollbarColor(SK_ColorWHITE) |
34 , solidColorScrollbarThicknessDIP(-1) | 34 , solidColorScrollbarThicknessDIP(-1) |
35 , calculateTopControlsPosition(false) | 35 , calculateTopControlsPosition(false) |
36 , useCheapnessEstimator(false) | 36 , useCheapnessEstimator(false) |
37 , useMemoryManagement(true) | 37 , useMemoryManagement(true) |
| 38 , solidColorBenchmarking(false) |
38 , minimumContentsScale(0.0625f) | 39 , minimumContentsScale(0.0625f) |
39 , lowResContentsScaleFactor(0.125f) | 40 , lowResContentsScaleFactor(0.125f) |
40 , topControlsHeight(0.f) | 41 , topControlsHeight(0.f) |
41 , topControlsShowThreshold(0.5f) | 42 , topControlsShowThreshold(0.5f) |
42 , topControlsHideThreshold(0.5f) | 43 , topControlsHideThreshold(0.5f) |
43 , refreshRate(0) | 44 , refreshRate(0) |
44 , maxPartialTextureUpdates(std::numeric_limits<size_t>::max()) | 45 , maxPartialTextureUpdates(std::numeric_limits<size_t>::max()) |
45 , numRasterThreads(1) | 46 , numRasterThreads(1) |
46 , defaultTileSize(gfx::Size(256, 256)) | 47 , defaultTileSize(gfx::Size(256, 256)) |
47 , maxUntiledLayerSize(gfx::Size(512, 512)) | 48 , maxUntiledLayerSize(gfx::Size(512, 512)) |
48 , minimumOcclusionTrackingSize(gfx::Size(160, 160)) | 49 , minimumOcclusionTrackingSize(gfx::Size(160, 160)) |
49 { | 50 { |
50 // TODO(danakj): Renable surface caching when we can do it more realiably. c
rbug.com/170713 | 51 // TODO(danakj): Renable surface caching when we can do it more realiably. c
rbug.com/170713 |
51 cacheRenderPassContents = false; | 52 cacheRenderPassContents = false; |
52 } | 53 } |
53 | 54 |
54 LayerTreeSettings::~LayerTreeSettings() | 55 LayerTreeSettings::~LayerTreeSettings() |
55 { | 56 { |
56 } | 57 } |
57 | 58 |
58 } // namespace cc | 59 } // namespace cc |
OLD | NEW |