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

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 2099903002: Make tile size a function of the device scale factor. Base URL: https://chromium.googlesource.com/chromium/src.git@layouttests-display
Patch Set: tilesize: . Created 4 years, 5 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_TREES_LAYER_TREE_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_
6 #define CC_TREES_LAYER_TREE_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 bool IsPendingTree() const; 98 bool IsPendingTree() const;
99 bool IsRecycleTree() const; 99 bool IsRecycleTree() const;
100 bool IsSyncTree() const; 100 bool IsSyncTree() const;
101 LayerImpl* FindActiveTreeLayerById(int id); 101 LayerImpl* FindActiveTreeLayerById(int id);
102 LayerImpl* FindPendingTreeLayerById(int id); 102 LayerImpl* FindPendingTreeLayerById(int id);
103 bool PinchGestureActive() const; 103 bool PinchGestureActive() const;
104 BeginFrameArgs CurrentBeginFrameArgs() const; 104 BeginFrameArgs CurrentBeginFrameArgs() const;
105 base::TimeDelta CurrentBeginFrameInterval() const; 105 base::TimeDelta CurrentBeginFrameInterval() const;
106 gfx::Rect DeviceViewport() const; 106 gfx::Rect DeviceViewport() const;
107 gfx::Size DrawViewportSize() const; 107 gfx::Size DrawViewportSize() const;
108 const gfx::Rect ViewportRectForTilePriority() const; 108 gfx::Size GetStableScreenSize() const;
aelias_OOO_until_Jul13 2016/06/29 07:21:16 Hmm, any reason you decided not to use OutputSurfa
danakj 2016/06/29 19:47:39 SurfaceSize() is passed from LTHI to Renderer::Dra
109 gfx::Rect ViewportRectForTilePriority() const;
109 std::unique_ptr<ScrollbarAnimationController> 110 std::unique_ptr<ScrollbarAnimationController>
110 CreateScrollbarAnimationController(int scroll_layer_id); 111 CreateScrollbarAnimationController(int scroll_layer_id);
111 void DidAnimateScrollOffset(); 112 void DidAnimateScrollOffset();
112 bool use_gpu_rasterization() const; 113 bool use_gpu_rasterization() const;
113 GpuRasterizationStatus GetGpuRasterizationStatus() const; 114 GpuRasterizationStatus GetGpuRasterizationStatus() const;
114 bool create_low_res_tiling() const; 115 bool create_low_res_tiling() const;
115 bool RequiresHighResToDraw() const; 116 bool RequiresHighResToDraw() const;
116 bool SmoothnessTakesPriority() const; 117 bool SmoothnessTakesPriority() const;
117 VideoFrameControllerClient* GetVideoFrameControllerClient() const; 118 VideoFrameControllerClient* GetVideoFrameControllerClient() const;
118 AnimationHost* animation_host() const { 119 AnimationHost* animation_host() const {
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 586
586 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 587 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
587 588
588 private: 589 private:
589 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 590 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
590 }; 591 };
591 592
592 } // namespace cc 593 } // namespace cc
593 594
594 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 595 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698