Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(991)

Side by Side Diff: cc/layer_tree_settings.cc

Issue 12316084: cc: Consolidate the analysis_canvas operations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win warning fix Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/layer_tree_settings.h ('k') | cc/picture.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 15 matching lines...) Expand all
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 , solidColorScrollbars(false) 31 , solidColorScrollbars(false)
32 , solidColorScrollbarColor(SK_ColorWHITE) 32 , solidColorScrollbarColor(SK_ColorWHITE)
33 , solidColorScrollbarThicknessDIP(-1) 33 , solidColorScrollbarThicknessDIP(-1)
34 , calculateTopControlsPosition(false) 34 , calculateTopControlsPosition(false)
35 , useCheapnessEstimator(false) 35 , useCheapnessEstimator(false)
36 , useColorEstimator(false)
36 , useMemoryManagement(true) 37 , useMemoryManagement(true)
38 , predictionBenchmarking(false)
37 , minimumContentsScale(0.0625f) 39 , minimumContentsScale(0.0625f)
38 , lowResContentsScaleFactor(0.125f) 40 , lowResContentsScaleFactor(0.125f)
39 , topControlsHeight(0.f) 41 , topControlsHeight(0.f)
40 , topControlsShowThreshold(0.5f) 42 , topControlsShowThreshold(0.5f)
41 , topControlsHideThreshold(0.5f) 43 , topControlsHideThreshold(0.5f)
42 , refreshRate(0) 44 , refreshRate(0)
43 , maxPartialTextureUpdates(std::numeric_limits<size_t>::max()) 45 , maxPartialTextureUpdates(std::numeric_limits<size_t>::max())
44 , numRasterThreads(1) 46 , numRasterThreads(1)
45 , defaultTileSize(gfx::Size(256, 256)) 47 , defaultTileSize(gfx::Size(256, 256))
46 , maxUntiledLayerSize(gfx::Size(512, 512)) 48 , maxUntiledLayerSize(gfx::Size(512, 512))
47 , minimumOcclusionTrackingSize(gfx::Size(160, 160)) 49 , minimumOcclusionTrackingSize(gfx::Size(160, 160))
48 { 50 {
49 // 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
50 cacheRenderPassContents = false; 52 cacheRenderPassContents = false;
51 } 53 }
52 54
53 LayerTreeSettings::~LayerTreeSettings() 55 LayerTreeSettings::~LayerTreeSettings()
54 { 56 {
55 } 57 }
56 58
57 } // namespace cc 59 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_settings.h ('k') | cc/picture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698