| 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 10 matching lines...) Expand all Loading... |
| 21 , perTilePaintingEnabled(false) | 21 , perTilePaintingEnabled(false) |
| 22 , partialSwapEnabled(false) | 22 , partialSwapEnabled(false) |
| 23 , acceleratedAnimationEnabled(true) | 23 , acceleratedAnimationEnabled(true) |
| 24 , pageScalePinchZoomEnabled(false) | 24 , pageScalePinchZoomEnabled(false) |
| 25 , backgroundColorInsteadOfCheckerboard(false) | 25 , backgroundColorInsteadOfCheckerboard(false) |
| 26 , showOverdrawInTracing(false) | 26 , showOverdrawInTracing(false) |
| 27 , canUseLCDText(true) | 27 , canUseLCDText(true) |
| 28 , shouldClearRootRenderPass(true) | 28 , shouldClearRootRenderPass(true) |
| 29 , useLinearFadeScrollbarAnimator(false) | 29 , useLinearFadeScrollbarAnimator(false) |
| 30 , minimumContentsScale(0.0625f) | 30 , minimumContentsScale(0.0625f) |
| 31 , lowResContentsScaleFactor(0.125f) |
| 31 , refreshRate(0) | 32 , refreshRate(0) |
| 32 , maxPartialTextureUpdates(std::numeric_limits<size_t>::max()) | 33 , maxPartialTextureUpdates(std::numeric_limits<size_t>::max()) |
| 33 , numRasterThreads(1) | 34 , numRasterThreads(1) |
| 34 , defaultTileSize(gfx::Size(256, 256)) | 35 , defaultTileSize(gfx::Size(256, 256)) |
| 35 , maxUntiledLayerSize(gfx::Size(512, 512)) | 36 , maxUntiledLayerSize(gfx::Size(512, 512)) |
| 36 , minimumOcclusionTrackingSize(gfx::Size(160, 160)) | 37 , minimumOcclusionTrackingSize(gfx::Size(160, 160)) |
| 37 { | 38 { |
| 38 // TODO(danakj): Move this to chromium when we don't go through the WebKit A
PI anymore. | 39 // TODO(danakj): Move this to chromium when we don't go through the WebKit A
PI anymore. |
| 39 compositorFrameMessage = CommandLine::ForCurrentProcess()->HasSwitch(cc::swi
tches::kEnableCompositorFrameMessage); | 40 compositorFrameMessage = CommandLine::ForCurrentProcess()->HasSwitch(cc::swi
tches::kEnableCompositorFrameMessage); |
| 40 implSidePainting = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches:
:kEnableImplSidePainting); | 41 implSidePainting = CommandLine::ForCurrentProcess()->HasSwitch(cc::switches:
:kEnableImplSidePainting); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 num_raster_threads; | 81 num_raster_threads; |
| 81 } | 82 } |
| 82 } | 83 } |
| 83 } | 84 } |
| 84 | 85 |
| 85 LayerTreeSettings::~LayerTreeSettings() | 86 LayerTreeSettings::~LayerTreeSettings() |
| 86 { | 87 { |
| 87 } | 88 } |
| 88 | 89 |
| 89 } // namespace cc | 90 } // namespace cc |
| OLD | NEW |