| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CC_TREES_LAYER_TREE_SETTINGS_H_ | 5 #ifndef CC_TREES_LAYER_TREE_SETTINGS_H_ |
| 6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ | 6 #define CC_TREES_LAYER_TREE_SETTINGS_H_ |
| 7 | 7 |
| 8 #include <string> |
| 9 |
| 8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 9 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 10 #include "cc/debug/layer_tree_debug_state.h" | 12 #include "cc/debug/layer_tree_debug_state.h" |
| 11 #include "third_party/skia/include/core/SkColor.h" | 13 #include "third_party/skia/include/core/SkColor.h" |
| 12 #include "ui/gfx/size.h" | 14 #include "ui/gfx/size.h" |
| 13 | 15 |
| 14 namespace cc { | 16 namespace cc { |
| 15 | 17 |
| 16 class CC_EXPORT LayerTreeSettings { | 18 class CC_EXPORT LayerTreeSettings { |
| 17 public: | 19 public: |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 gfx::Size max_untiled_layer_size; | 56 gfx::Size max_untiled_layer_size; |
| 55 gfx::Size minimum_occlusion_tracking_size; | 57 gfx::Size minimum_occlusion_tracking_size; |
| 56 bool use_pinch_zoom_scrollbars; | 58 bool use_pinch_zoom_scrollbars; |
| 57 bool use_pinch_virtual_viewport; | 59 bool use_pinch_virtual_viewport; |
| 58 size_t max_tiles_for_interest_area; | 60 size_t max_tiles_for_interest_area; |
| 59 size_t max_unused_resource_memory_percentage; | 61 size_t max_unused_resource_memory_percentage; |
| 60 int highp_threshold_min; | 62 int highp_threshold_min; |
| 61 bool force_direct_layer_drawing; // With Skia GPU backend. | 63 bool force_direct_layer_drawing; // With Skia GPU backend. |
| 62 bool strict_layer_property_change_checking; | 64 bool strict_layer_property_change_checking; |
| 63 bool use_map_image; | 65 bool use_map_image; |
| 66 std::string compositor_name; |
| 64 | 67 |
| 65 LayerTreeDebugState initial_debug_state; | 68 LayerTreeDebugState initial_debug_state; |
| 66 }; | 69 }; |
| 67 | 70 |
| 68 } // namespace cc | 71 } // namespace cc |
| 69 | 72 |
| 70 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ | 73 #endif // CC_TREES_LAYER_TREE_SETTINGS_H_ |
| OLD | NEW |