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

Unified Diff: cc/trees/layer_tree_host_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_client.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index 736da24d3e4c3f56654c8f85f4cf5233e068c18c..84f086405fec56ac0db1a8ccd0b36b41c9d1fc2c 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -621,16 +621,6 @@ class CC_EXPORT LayerTreeHostImpl
void SetLayerTreeMutator(std::unique_ptr<LayerTreeMutator> mutator);
LayerTreeMutator* mutator() { return mutator_.get(); }
- void set_fixed_raster_scale_has_blurry_content() {
- has_fixed_raster_scale_blurry_content_ = true;
- }
- bool has_fixed_raster_scale_blurry_content() const {
- return has_fixed_raster_scale_blurry_content_;
- }
-
- bool HasFixedRasterScalePotentialPerformanceRegression() const;
- void SetFixedRasterScaleAttemptedToChangeScale();
-
protected:
LayerTreeHostImpl(
const LayerTreeSettings& settings,
@@ -659,9 +649,6 @@ class CC_EXPORT LayerTreeHostImpl
BeginFrameTracker current_begin_frame_tracker_;
private:
- enum { kFixedRasterScaleAttemptedScaleChangeThreshold = 5 };
- enum { kFixedRasterScaleAttemptedScaleChangeHistoryCount = 10 };
-
gfx::Vector2dF ScrollNodeWithViewportSpaceDelta(
ScrollNode* scroll_node,
const gfx::PointF& viewport_point,
@@ -863,9 +850,6 @@ class CC_EXPORT LayerTreeHostImpl
std::unique_ptr<LayerTreeMutator> mutator_;
- bool has_fixed_raster_scale_blurry_content_;
- std::bitset<kFixedRasterScaleAttemptedScaleChangeHistoryCount>
- fixed_raster_scale_attempted_scale_change_history_;
std::unique_ptr<PendingTreeDurationHistogramTimer>
pending_tree_duration_timer_;
« no previous file with comments | « cc/trees/layer_tree_host_client.h ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698