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_LAYERS_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_LAYER_IMPL_H_ |
6 #define CC_LAYERS_LAYER_IMPL_H_ | 6 #define CC_LAYERS_LAYER_IMPL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 | 557 |
558 bool has_will_change_transform_hint_ : 1; | 558 bool has_will_change_transform_hint_ : 1; |
559 bool needs_push_properties_ : 1; | 559 bool needs_push_properties_ : 1; |
560 bool scrollbars_hidden_ : 1; | 560 bool scrollbars_hidden_ : 1; |
561 | 561 |
562 // The needs_show_scrollbars_ bit tracks a pending request from Blink to show | 562 // The needs_show_scrollbars_ bit tracks a pending request from Blink to show |
563 // the overlay scrollbars. It's set on the scroll layer (not the scrollbar | 563 // the overlay scrollbars. It's set on the scroll layer (not the scrollbar |
564 // layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation. | 564 // layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation. |
565 bool needs_show_scrollbars_ : 1; | 565 bool needs_show_scrollbars_ : 1; |
566 | 566 |
| 567 // This is set for layers that have a property because of which they are not |
| 568 // drawn (singular transforms), but they can become visible soon (the property |
| 569 // is being animated). For this reason, while these layers are not drawn, they |
| 570 // are still rasterized. |
567 bool raster_even_if_not_in_rsll_ : 1; | 571 bool raster_even_if_not_in_rsll_ : 1; |
568 | 572 |
569 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 573 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
570 }; | 574 }; |
571 | 575 |
572 } // namespace cc | 576 } // namespace cc |
573 | 577 |
574 #endif // CC_LAYERS_LAYER_IMPL_H_ | 578 #endif // CC_LAYERS_LAYER_IMPL_H_ |
OLD | NEW |