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

Unified Diff: cc/resources/picture_layer_tiling.h

Issue 603683006: cc: Remove low quality mode and cleanup tile versions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 6 years, 3 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/resources/managed_tile_state.cc ('k') | cc/resources/picture_layer_tiling_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling.h
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
index 104ca107753e3ef12fb34f6fca6361d18231309d..2d0ae37c66800fadb7bb1968220d7406cf6b2fd1 100644
--- a/cc/resources/picture_layer_tiling.h
+++ b/cc/resources/picture_layer_tiling.h
@@ -101,8 +101,7 @@ class CC_EXPORT PictureLayerTiling {
void AdvancePhase();
bool TileNeedsRaster(Tile* tile) const {
- RasterMode mode = tile->DetermineRasterModeForTree(tree_);
- return !tile->is_occluded(tree_) && tile->NeedsRasterForMode(mode);
+ return !tile->is_occluded(tree_) && !tile->IsReadyToDraw();
}
PictureLayerTiling* tiling_;
« no previous file with comments | « cc/resources/managed_tile_state.cc ('k') | cc/resources/picture_layer_tiling_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698