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

Side by Side Diff: cc/trees/layer_tree_settings.cc

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | cc/trees/property_tree.cc » ('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/trees/layer_tree_settings.h" 5 #include "cc/trees/layer_tree_settings.h"
6 6
7 #include "cc/proto/gfx_conversions.h"
8 #include "third_party/khronos/GLES2/gl2.h" 7 #include "third_party/khronos/GLES2/gl2.h"
9 8
10 namespace cc { 9 namespace cc {
11 10
12 LayerTreeSettings::LayerTreeSettings() 11 LayerTreeSettings::LayerTreeSettings()
13 : default_tile_size(gfx::Size(256, 256)), 12 : default_tile_size(gfx::Size(256, 256)),
14 max_untiled_layer_size(gfx::Size(512, 512)), 13 max_untiled_layer_size(gfx::Size(512, 512)),
15 minimum_occlusion_tracking_size(gfx::Size(160, 160)), 14 minimum_occlusion_tracking_size(gfx::Size(160, 160)),
16 gpu_memory_policy(64 * 1024 * 1024, 15 gpu_memory_policy(64 * 1024 * 1024,
17 gpu::MemoryAllocation::CUTOFF_ALLOW_EVERYTHING, 16 gpu::MemoryAllocation::CUTOFF_ALLOW_EVERYTHING,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 timeout_and_draw_when_animation_checkerboards; 91 timeout_and_draw_when_animation_checkerboards;
93 scheduler_settings.using_synchronous_renderer_compositor = 92 scheduler_settings.using_synchronous_renderer_compositor =
94 using_synchronous_renderer_compositor; 93 using_synchronous_renderer_compositor;
95 scheduler_settings.enable_latency_recovery = enable_latency_recovery; 94 scheduler_settings.enable_latency_recovery = enable_latency_recovery;
96 scheduler_settings.background_frame_interval = 95 scheduler_settings.background_frame_interval =
97 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate); 96 base::TimeDelta::FromSecondsD(1.0 / background_animation_rate);
98 return scheduler_settings; 97 return scheduler_settings;
99 } 98 }
100 99
101 } // namespace cc 100 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | cc/trees/property_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698