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

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: .. 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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 569
570 bool has_will_change_transform_hint_ : 1; 570 bool has_will_change_transform_hint_ : 1;
571 bool needs_push_properties_ : 1; 571 bool needs_push_properties_ : 1;
572 bool scrollbars_hidden_ : 1; 572 bool scrollbars_hidden_ : 1;
573 573
574 // The needs_show_scrollbars_ bit tracks a pending request from Blink to show 574 // The needs_show_scrollbars_ bit tracks a pending request from Blink to show
575 // the overlay scrollbars. It's set on the scroll layer (not the scrollbar 575 // the overlay scrollbars. It's set on the scroll layer (not the scrollbar
576 // layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation. 576 // layers) and consumed by LayerTreeImpl::PushPropertiesTo during activation.
577 bool needs_show_scrollbars_ : 1; 577 bool needs_show_scrollbars_ : 1;
578 578
579 // This is set for layers that have a property because of which they are not
580 // drawn (singular transforms), but they can become visible soon (the property
581 // is being animated). For this reason, while these layers are not drawn, they
582 // are still rasterized.
579 bool raster_even_if_not_in_rsll_ : 1; 583 bool raster_even_if_not_in_rsll_ : 1;
jaydasika 2017/05/24 22:17:55 nit : we don't have a rsll anymore. Maybe this sho
Khushal 2017/05/25 02:52:59 Yeah, that's better. I'll change it.
580 584
581 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 585 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
582 }; 586 };
583 587
584 } // namespace cc 588 } // namespace cc
585 589
586 #endif // CC_LAYERS_LAYER_IMPL_H_ 590 #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