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_HOST_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
580 PropertyTrees property_trees_; | 580 PropertyTrees property_trees_; |
581 | 581 |
582 using LayerIdMap = std::unordered_map<int, Layer*>; | 582 using LayerIdMap = std::unordered_map<int, Layer*>; |
583 LayerIdMap layer_id_map_; | 583 LayerIdMap layer_id_map_; |
584 // Set of layers that need to push properties. | 584 // Set of layers that need to push properties. |
585 std::unordered_set<Layer*> layers_that_should_push_properties_; | 585 std::unordered_set<Layer*> layers_that_should_push_properties_; |
586 | 586 |
587 uint32_t surface_id_namespace_; | 587 uint32_t surface_id_namespace_; |
588 uint32_t next_surface_sequence_; | 588 uint32_t next_surface_sequence_; |
589 | 589 |
| 590 bool has_fixed_raster_scale_blurry_content_; |
| 591 bool has_fixed_raster_scale_potential_performance_regression_; |
| 592 |
590 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 593 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
591 }; | 594 }; |
592 | 595 |
593 } // namespace cc | 596 } // namespace cc |
594 | 597 |
595 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 598 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |