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

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

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/single_thread_proxy.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 <GLES2/gl2.h>
7 #include <limits> 8 #include <limits>
8 9
9 #include "base/command_line.h" 10 #include "base/command_line.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
12 13
13 namespace cc { 14 namespace cc {
14 15
15 LayerTreeSettings::LayerTreeSettings() 16 LayerTreeSettings::LayerTreeSettings()
16 : impl_side_painting(false), 17 : impl_side_painting(false),
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 use_pinch_virtual_viewport(false), 54 use_pinch_virtual_viewport(false),
54 // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels. 55 // At 256x256 tiles, 128 tiles cover an area of 2048x4096 pixels.
55 max_tiles_for_interest_area(128), 56 max_tiles_for_interest_area(128),
56 skewport_target_time_multiplier(1.0f), 57 skewport_target_time_multiplier(1.0f),
57 skewport_extrapolation_limit_in_content_pixels(2000), 58 skewport_extrapolation_limit_in_content_pixels(2000),
58 max_unused_resource_memory_percentage(100), 59 max_unused_resource_memory_percentage(100),
59 max_memory_for_prepaint_percentage(100), 60 max_memory_for_prepaint_percentage(100),
60 strict_layer_property_change_checking(false), 61 strict_layer_property_change_checking(false),
61 use_one_copy(false), 62 use_one_copy(false),
62 use_zero_copy(false), 63 use_zero_copy(false),
63 use_image_external(false), 64 use_image_texture_target(GL_TEXTURE_2D),
64 ignore_root_layer_flings(false), 65 ignore_root_layer_flings(false),
65 scheduled_raster_task_limit(32), 66 scheduled_raster_task_limit(32),
66 use_occlusion_for_tile_prioritization(false), 67 use_occlusion_for_tile_prioritization(false),
67 record_full_layer(false), 68 record_full_layer(false),
68 use_display_lists(false), 69 use_display_lists(false) {
69 main_thread_should_always_be_low_latency(false) {
70 } 70 }
71 71
72 LayerTreeSettings::~LayerTreeSettings() {} 72 LayerTreeSettings::~LayerTreeSettings() {}
73 73
74 } // namespace cc 74 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698