Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / cc / trees / layer_tree_settings.h
index 6c06254..bad3bf4 100644 (file)
@@ -21,17 +21,26 @@ class CC_EXPORT LayerTreeSettings {
   bool impl_side_painting;
   bool allow_antialiasing;
   bool throttle_frame_production;
-  bool begin_impl_frame_scheduling_enabled;
-  bool deadline_scheduling_enabled;
+  bool single_thread_proxy_scheduler;
+  bool begin_frame_scheduling_enabled;
+  bool main_frame_before_draw_enabled;
+  bool main_frame_before_activation_enabled;
   bool using_synchronous_renderer_compositor;
+  bool report_overscroll_only_for_scrollable_axes;
   bool per_tile_painting_enabled;
   bool partial_swap_enabled;
   bool accelerated_animation_enabled;
-  bool background_color_instead_of_checkerboard;
-  bool show_overdraw_in_tracing;
   bool can_use_lcd_text;
+  bool use_distance_field_text;
   bool should_clear_root_render_pass;
-  bool gpu_rasterization;
+  bool gpu_rasterization_enabled;
+  bool gpu_rasterization_forced;
+  enum RecordingMode {
+    RecordNormally,
+    RecordWithSkRecord,
+  };
+  RecordingMode recording_mode;
+  bool create_low_res_tiling;
 
   enum ScrollbarAnimator {
     NoAnimator,
@@ -39,11 +48,10 @@ class CC_EXPORT LayerTreeSettings {
     Thinning,
   };
   ScrollbarAnimator scrollbar_animator;
-  int scrollbar_linear_fade_delay_ms;
-  int scrollbar_linear_fade_length_ms;
+  int scrollbar_fade_delay_ms;
+  int scrollbar_fade_duration_ms;
   SkColor solid_color_scrollbar_color;
   bool calculate_top_controls_position;
-  bool use_memory_management;
   bool timeout_and_draw_when_animation_checkerboards;
   int maximum_number_of_failed_draws_before_draw_is_forced_;
   bool layer_transforms_should_scale_layer_contents;
@@ -60,14 +68,19 @@ class CC_EXPORT LayerTreeSettings {
   bool use_pinch_zoom_scrollbars;
   bool use_pinch_virtual_viewport;
   size_t max_tiles_for_interest_area;
+  float skewport_target_time_multiplier;
+  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_map_image;
+  bool use_one_copy;
+  bool use_zero_copy;
   bool ignore_root_layer_flings;
   bool use_rgba_4444_textures;
-  bool touch_hit_testing;
   size_t texture_id_allocation_chunk_size;
+  bool use_occlusion_for_tile_prioritization;
+  bool record_full_layer;
 
   LayerTreeDebugState initial_debug_state;
 };