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

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

Issue 2068413002: cc: Remove fixed raster scale, stop rasterizing with will-change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 6 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/trees/layer_tree_host_unittest_remote_server.cc ('k') | cc/trees/layer_tree_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 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void DidAnimateScrollOffset(); 111 void DidAnimateScrollOffset();
112 bool use_gpu_rasterization() const; 112 bool use_gpu_rasterization() const;
113 GpuRasterizationStatus GetGpuRasterizationStatus() const; 113 GpuRasterizationStatus GetGpuRasterizationStatus() const;
114 bool create_low_res_tiling() const; 114 bool create_low_res_tiling() const;
115 bool RequiresHighResToDraw() const; 115 bool RequiresHighResToDraw() const;
116 bool SmoothnessTakesPriority() const; 116 bool SmoothnessTakesPriority() const;
117 VideoFrameControllerClient* GetVideoFrameControllerClient() const; 117 VideoFrameControllerClient* GetVideoFrameControllerClient() const;
118 AnimationHost* animation_host() const { 118 AnimationHost* animation_host() const {
119 return layer_tree_host_impl_->animation_host(); 119 return layer_tree_host_impl_->animation_host();
120 } 120 }
121 void SetFixedRasterScaleHasBlurryContent();
122 void SetFixedRasterScaleAttemptedToChangeScale();
123 121
124 // Tree specific methods exposed to layer-impl tree. 122 // Tree specific methods exposed to layer-impl tree.
125 // --------------------------------------------------------------------------- 123 // ---------------------------------------------------------------------------
126 void SetNeedsRedraw(); 124 void SetNeedsRedraw();
127 125
128 // Tracing methods. 126 // Tracing methods.
129 // --------------------------------------------------------------------------- 127 // ---------------------------------------------------------------------------
130 void GetAllPrioritizedTilesForTracing( 128 void GetAllPrioritizedTilesForTracing(
131 std::vector<PrioritizedTile>* prioritized_tiles) const; 129 std::vector<PrioritizedTile>* prioritized_tiles) const;
132 void AsValueInto(base::trace_event::TracedValue* dict) const; 130 void AsValueInto(base::trace_event::TracedValue* dict) const;
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 581
584 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 582 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
585 583
586 private: 584 private:
587 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 585 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
588 }; 586 };
589 587
590 } // namespace cc 588 } // namespace cc
591 589
592 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 590 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_remote_server.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698