OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 syntax = "proto2"; |
| 6 |
| 7 import "layer_tree_debug_state.proto"; |
| 8 import "managed_memory_policy.proto"; |
| 9 import "renderer_settings.proto"; |
| 10 import "size.proto"; |
| 11 |
| 12 package cc.proto; |
| 13 |
| 14 option optimize_for = LITE_RUNTIME; |
| 15 |
| 16 message LayerTreeSettings { |
| 17 enum ScrollbarAnimator { |
| 18 UNKNOWN = 0; |
| 19 NO_ANIMATOR = 1; |
| 20 LINEAR_FADE = 2; |
| 21 THINNING = 3; |
| 22 }; |
| 23 |
| 24 optional RendererSettings renderer_settings = 1; |
| 25 optional bool single_thread_proxy_scheduler = 2; |
| 26 optional bool use_external_begin_frame_source = 3; |
| 27 optional bool main_frame_before_activation_enabled = 4; |
| 28 optional bool using_synchronous_renderer_compositor = 5; |
| 29 optional bool accelerated_animation_enabled = 6; |
| 30 optional bool can_use_lcd_text = 7; |
| 31 optional bool use_distance_field_text = 8; |
| 32 optional bool gpu_rasterization_enabled = 9; |
| 33 optional bool gpu_rasterization_forced = 10; |
| 34 optional int32 gpu_rasterization_msaa_sample_count = 11; |
| 35 optional float gpu_rasterization_skewport_target_time_in_seconds = 12; |
| 36 optional bool create_low_res_tiling = 13; |
| 37 optional ScrollbarAnimator scrollbar_animator = 14; |
| 38 optional int32 scrollbar_fade_delay_ms = 15; |
| 39 optional int32 scrollbar_fade_resize_delay_ms = 16; |
| 40 optional int32 scrollbar_fade_duration_ms = 17; |
| 41 optional uint32 solid_color_scrollbar_color = 18; /* SkColor */ |
| 42 optional bool timeout_and_draw_when_animation_checkerboards = 19; |
| 43 optional bool layer_transforms_should_scale_layer_contents = 20; |
| 44 optional bool layers_always_allowed_lcd_text = 21; |
| 45 optional float minimum_contents_scale = 22; |
| 46 optional float low_res_contents_scale_factor = 23; |
| 47 optional float top_controls_show_threshold = 24; |
| 48 optional float top_controls_hide_threshold = 25; |
| 49 optional double background_animation_rate = 26; |
| 50 optional Size default_tile_size = 27; |
| 51 optional Size max_untiled_layer_size = 28; |
| 52 optional Size minimum_occlusion_tracking_size = 29; |
| 53 optional uint32 tiling_interest_area_padding = 30; |
| 54 optional float skewport_target_time_in_seconds = 31; |
| 55 optional int32 skewport_extrapolation_limit_in_content_pixels = 32; |
| 56 optional uint32 max_memory_for_prepaint_percentage = 33; |
| 57 optional bool strict_layer_property_change_checking = 34; |
| 58 optional bool use_zero_copy = 35; |
| 59 optional bool use_partial_raster = 36; |
| 60 optional bool enable_elastic_overscroll = 37; |
| 61 repeated uint32 use_image_texture_targets = 38; |
| 62 optional bool ignore_root_layer_flings = 39; |
| 63 optional uint32 scheduled_raster_task_limit = 40; |
| 64 optional bool use_occlusion_for_tile_prioritization = 41; |
| 65 optional bool verify_property_trees = 42; |
| 66 optional bool use_property_trees = 43; |
| 67 optional bool image_decode_tasks_enabled = 44; |
| 68 optional bool use_compositor_animation_timelines = 45; |
| 69 optional bool wait_for_beginframe_interval = 46; |
| 70 optional int32 max_staging_buffer_usage_in_bytes = 47; |
| 71 optional ManagedMemoryPolicy memory_policy = 48; |
| 72 optional LayerTreeDebugState initial_debug_state = 49; |
| 73 } |
OLD | NEW |