Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: cc/layers/layer_impl.h

Issue 2899403003: cc: Give non-drawing layers that are rasterized a lower priority. (Closed)
Patch Set: priority bin Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698