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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_settings.h
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
index 69ac995d22885389303c6db107adbeaf31f698fc..ebbe7f799f7e2143ffe11668fdf7198d491be26e 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "cc/base/cc_export.h"
#include "cc/debug/layer_tree_debug_state.h"
+#include "cc/output/renderer_settings.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/geometry/size.h"
@@ -18,10 +19,8 @@ class CC_EXPORT LayerTreeSettings {
LayerTreeSettings();
~LayerTreeSettings();
+ RendererSettings renderer_settings;
bool impl_side_painting;
- bool allow_antialiasing;
- bool force_antialiasing;
- bool force_blending_with_shaders;
bool throttle_frame_production;
bool single_thread_proxy_scheduler;
bool use_external_begin_frame_source;
@@ -31,11 +30,9 @@ class CC_EXPORT LayerTreeSettings {
bool disable_hi_res_timer_tasks_on_battery;
bool report_overscroll_only_for_scrollable_axes;
bool per_tile_painting_enabled;
- bool partial_swap_enabled;
bool accelerated_animation_enabled;
bool can_use_lcd_text;
bool use_distance_field_text;
- bool should_clear_root_render_pass;
bool gpu_rasterization_enabled;
bool gpu_rasterization_forced;
bool create_low_res_tiling;
@@ -60,7 +57,6 @@ class CC_EXPORT LayerTreeSettings {
float top_controls_height;
float top_controls_show_threshold;
float top_controls_hide_threshold;
- double refresh_rate;
double background_animation_rate;
size_t max_partial_texture_updates;
gfx::Size default_tile_size;
@@ -74,13 +70,10 @@ class CC_EXPORT LayerTreeSettings {
int skewport_extrapolation_limit_in_content_pixels;
size_t max_unused_resource_memory_percentage;
size_t max_memory_for_prepaint_percentage;
- int highp_threshold_min;
bool strict_layer_property_change_checking;
bool use_one_copy;
bool use_zero_copy;
bool ignore_root_layer_flings;
- bool use_rgba_4444_textures;
- size_t texture_id_allocation_chunk_size;
size_t scheduled_raster_task_limit;
bool use_occlusion_for_tile_prioritization;
bool record_full_layer;
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698