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

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

Issue 914403003: cc: Add main frame timing info to frame timing tracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 bool IsDrawnRenderSurfaceLayerListMember() const; 586 bool IsDrawnRenderSurfaceLayerListMember() const;
587 587
588 void Set3dSortingContextId(int id); 588 void Set3dSortingContextId(int id);
589 int sorting_context_id() { return sorting_context_id_; } 589 int sorting_context_id() { return sorting_context_id_; }
590 590
591 void PassFrameTimingRequests( 591 void PassFrameTimingRequests(
592 std::vector<FrameTimingRequest>* frame_timing_requests); 592 std::vector<FrameTimingRequest>* frame_timing_requests);
593 const std::vector<FrameTimingRequest>& frame_timing_requests() const { 593 const std::vector<FrameTimingRequest>& frame_timing_requests() const {
594 return frame_timing_requests_; 594 return frame_timing_requests_;
595 } 595 }
596 void GatherFrameTimingRequestIds(std::vector<int64_t>* request_ids);
596 597
597 SyncedScrollOffset* synced_scroll_offset() { return scroll_offset_.get(); } 598 SyncedScrollOffset* synced_scroll_offset() { return scroll_offset_.get(); }
598 599
599 // Get the correct invalidation region instead of conservative Rect 600 // Get the correct invalidation region instead of conservative Rect
600 // for layers that provide it. 601 // for layers that provide it.
601 virtual Region GetInvalidationRegion(); 602 virtual Region GetInvalidationRegion();
602 603
603 virtual gfx::Rect GetEnclosingRectInTargetSpace() const; 604 virtual gfx::Rect GetEnclosingRectInTargetSpace() const;
604 605
605 protected: 606 protected:
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 771
771 std::vector<FrameTimingRequest> frame_timing_requests_; 772 std::vector<FrameTimingRequest> frame_timing_requests_;
772 bool frame_timing_requests_dirty_; 773 bool frame_timing_requests_dirty_;
773 774
774 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 775 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
775 }; 776 };
776 777
777 } // namespace cc 778 } // namespace cc
778 779
779 #endif // CC_LAYERS_LAYER_IMPL_H_ 780 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698