diff options
Diffstat (limited to 'cc/proto/layer_tree_debug_state.proto')
-rw-r--r-- | cc/proto/layer_tree_debug_state.proto | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cc/proto/layer_tree_debug_state.proto b/cc/proto/layer_tree_debug_state.proto new file mode 100644 index 0000000..ea2970d --- /dev/null +++ b/cc/proto/layer_tree_debug_state.proto @@ -0,0 +1,31 @@ +// Copyright 2015 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +syntax = "proto2"; + +package cc.proto; + +option optimize_for = LITE_RUNTIME; + +message LayerTreeDebugState { + optional bool show_fps_counter = 1; + optional bool show_debug_borders = 2; + + optional bool show_paint_rects = 3; + optional bool show_property_changed_rects = 4; + optional bool show_surface_damage_rects = 5; + optional bool show_screen_space_rects = 6; + optional bool show_replica_screen_space_rects = 7; + optional bool show_touch_event_handler_rects = 8; + optional bool show_wheel_event_handler_rects = 9; + optional bool show_scroll_event_handler_rects = 10; + optional bool show_non_fast_scrollable_rects = 11; + optional bool show_layer_animation_bounds_rects = 12; + + optional int32 slow_down_raster_scale_factor = 13; + optional bool rasterize_only_visible_content = 14; + optional bool show_picture_borders = 15; + + optional bool record_rendering_stats = 16; +} |