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

Unified Diff: cc/resources/picture_layer_tiling_set.cc

Issue 793693003: Tile Compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/picture_layer_tiling_set.h ('k') | cc/resources/picture_layer_tiling_set_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling_set.cc
diff --git a/cc/resources/picture_layer_tiling_set.cc b/cc/resources/picture_layer_tiling_set.cc
index 51896a5b5f7f29cfb287e970fb8b301aaa4b83a0..269cf9bb61b8b4188ec76d562d7e5509a10c2d0a 100644
--- a/cc/resources/picture_layer_tiling_set.cc
+++ b/cc/resources/picture_layer_tiling_set.cc
@@ -122,7 +122,8 @@ bool PictureLayerTilingSet::SyncTilings(const PictureLayerTilingSet& other,
const gfx::Size& new_layer_bounds,
const Region& layer_invalidation,
float minimum_contents_scale,
- RasterSource* raster_source) {
+ RasterSource* raster_source,
+ base::TimeTicks frame_time) {
if (new_layer_bounds.IsEmpty()) {
RemoveAllTilings();
return false;
@@ -152,7 +153,7 @@ bool PictureLayerTilingSet::SyncTilings(const PictureLayerTilingSet& other,
this_tiling->set_resolution(other.tilings_[i]->resolution());
this_tiling->UpdateTilesToCurrentRasterSource(
- raster_source, layer_invalidation, new_layer_bounds);
+ raster_source, layer_invalidation, new_layer_bounds, frame_time);
this_tiling->CreateMissingTilesInLiveTilesRect();
if (this_tiling->resolution() == HIGH_RESOLUTION)
have_high_res_tiling = true;
« no previous file with comments | « cc/resources/picture_layer_tiling_set.h ('k') | cc/resources/picture_layer_tiling_set_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698