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

Unified Diff: cc/tiles/tile_manager.h

Issue 1318733006: cc: Do the math for a tile's content rect in layer space once. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
Index: cc/tiles/tile_manager.h
diff --git a/cc/tiles/tile_manager.h b/cc/tiles/tile_manager.h
index 32b68d576d24b6cb3979443ab94d9793c4376a09..54263974b7d06afc90d7ed31ea8f0e6c76facb8d 100644
--- a/cc/tiles/tile_manager.h
+++ b/cc/tiles/tile_manager.h
@@ -133,9 +133,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient {
// date draw information.
void Flush();
- ScopedTilePtr CreateTile(const gfx::Size& desired_texture_size,
- const gfx::Rect& content_rect,
- float contents_scale,
+ ScopedTilePtr CreateTile(const Tile::CreateInfo& info,
int layer_id,
int source_frame_number,
int flags);
« cc/tiles/tile.cc ('K') | « cc/tiles/tile.cc ('k') | cc/tiles/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698