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

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

Issue 1812733003: Store recording invalidations in DisplayListRecordingSource, save them via Update. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « cc/debug/debug_rect_history.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
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 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 const std::vector<FrameTimingRequest>& frame_timing_requests() const { 568 const std::vector<FrameTimingRequest>& frame_timing_requests() const {
569 return frame_timing_requests_; 569 return frame_timing_requests_;
570 } 570 }
571 void GatherFrameTimingRequestIds(std::vector<int64_t>* request_ids); 571 void GatherFrameTimingRequestIds(std::vector<int64_t>* request_ids);
572 572
573 const SyncedScrollOffset* synced_scroll_offset() const; 573 const SyncedScrollOffset* synced_scroll_offset() const;
574 SyncedScrollOffset* synced_scroll_offset(); 574 SyncedScrollOffset* synced_scroll_offset();
575 575
576 // Get the correct invalidation region instead of conservative Rect 576 // Get the correct invalidation region instead of conservative Rect
577 // for layers that provide it. 577 // for layers that provide it.
578 virtual Region GetInvalidationRegion(); 578 virtual Region GetInvalidationRegionForDebugging();
579 579
580 virtual gfx::Rect GetEnclosingRectInTargetSpace() const; 580 virtual gfx::Rect GetEnclosingRectInTargetSpace() const;
581 581
582 void set_visited(bool visited) { visited_ = visited; } 582 void set_visited(bool visited) { visited_ = visited; }
583 583
584 bool visited() { return visited_; } 584 bool visited() { return visited_; }
585 585
586 void set_layer_or_descendant_is_drawn(bool layer_or_descendant_is_drawn) { 586 void set_layer_or_descendant_is_drawn(bool layer_or_descendant_is_drawn) {
587 layer_or_descendant_is_drawn_ = layer_or_descendant_is_drawn; 587 layer_or_descendant_is_drawn_ = layer_or_descendant_is_drawn;
588 } 588 }
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 // If true, the layer or one of its descendants has a touch handler. 794 // If true, the layer or one of its descendants has a touch handler.
795 bool layer_or_descendant_has_touch_handler_; 795 bool layer_or_descendant_has_touch_handler_;
796 bool sorted_for_recursion_; 796 bool sorted_for_recursion_;
797 797
798 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 798 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
799 }; 799 };
800 800
801 } // namespace cc 801 } // namespace cc
802 802
803 #endif // CC_LAYERS_LAYER_IMPL_H_ 803 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/debug/debug_rect_history.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698