summaryrefslogtreecommitdiffstats
path: root/chromium/cc/trees/layer_tree_settings.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-12 14:07:37 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-17 10:29:26 +0000
commitec02ee4181c49b61fce1c8fb99292dbb8139cc90 (patch)
tree25cde714b2b71eb639d1cd53f5a22e9ba76e14ef /chromium/cc/trees/layer_tree_settings.h
parentbb09965444b5bb20b096a291445170876225268d (diff)
BASELINE: Update Chromium to 59.0.3071.134
Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/cc/trees/layer_tree_settings.h')
-rw-r--r--chromium/cc/trees/layer_tree_settings.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/chromium/cc/trees/layer_tree_settings.h b/chromium/cc/trees/layer_tree_settings.h
index 92b759ba864..90348788b5e 100644
--- a/chromium/cc/trees/layer_tree_settings.h
+++ b/chromium/cc/trees/layer_tree_settings.h
@@ -10,7 +10,7 @@
#include <vector>
#include "base/time/time.h"
-#include "cc/base/cc_export.h"
+#include "cc/cc_export.h"
#include "cc/debug/layer_tree_debug_state.h"
#include "cc/output/managed_memory_policy.h"
#include "cc/output/renderer_settings.h"
@@ -27,8 +27,6 @@ class CC_EXPORT LayerTreeSettings {
LayerTreeSettings(const LayerTreeSettings& other);
virtual ~LayerTreeSettings();
- bool operator==(const LayerTreeSettings& other) const;
-
SchedulerSettings ToSchedulerSettings() const;
TileManagerSettings ToTileManagerSettings() const;
@@ -51,10 +49,9 @@ class CC_EXPORT LayerTreeSettings {
AURA_OVERLAY,
};
ScrollbarAnimator scrollbar_animator = NO_ANIMATOR;
- base::TimeDelta scrollbar_show_delay;
- base::TimeDelta scrollbar_fade_out_delay;
+ base::TimeDelta scrollbar_fade_delay;
base::TimeDelta scrollbar_fade_out_resize_delay;
- base::TimeDelta scrollbar_fade_out_duration;
+ base::TimeDelta scrollbar_fade_duration;
base::TimeDelta scrollbar_thinning_duration;
SkColor solid_color_scrollbar_color = SK_ColorWHITE;
bool timeout_and_draw_when_animation_checkerboards = true;
@@ -82,7 +79,6 @@ class CC_EXPORT LayerTreeSettings {
bool ignore_root_layer_flings = false;
size_t scheduled_raster_task_limit = 32;
bool use_occlusion_for_tile_prioritization = false;
- bool verify_clip_tree_calculations = false;
// TODO(khushalsagar): Enable for all client and remove this flag if possible.
// See crbug/com/696864.
@@ -92,11 +88,11 @@ class CC_EXPORT LayerTreeSettings {
int max_staging_buffer_usage_in_bytes = 32 * 1024 * 1024;
ManagedMemoryPolicy gpu_memory_policy;
ManagedMemoryPolicy software_memory_policy;
- size_t gpu_decoded_image_budget_bytes = 96 * 1024 * 1024;
- size_t software_decoded_image_budget_bytes = 128 * 1024 * 1024;
+ size_t decoded_image_cache_budget_bytes = 128 * 1024 * 1024;
+ size_t decoded_image_working_set_budget_bytes = 128 * 1024 * 1024;
int max_preraster_distance_in_screen_pixels = 1000;
- bool enable_color_correct_rendering = false;
+ bool enable_color_correct_rasterization = false;
// TODO(sunxd): remove this flag when filter demoting and aa of mask layers
// are implemented.
@@ -108,6 +104,14 @@ class CC_EXPORT LayerTreeSettings {
bool enable_checker_imaging = false;
LayerTreeDebugState initial_debug_state;
+
+ // Indicates that the LayerTreeHost should defer commits unless it has a valid
+ // LocalSurfaceId set.
+ bool enable_surface_synchronization = false;
+
+ // Indicates the case when a sub-frame gets its own LayerTree because it's
+ // rendered in a different process from its ancestor frames.
+ bool is_layer_tree_for_subframe = false;
};
} // namespace cc