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

Unified Diff: cc/resources/tile.h

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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/software_rasterizer.cc ('k') | cc/resources/tile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 167da17287b25b6b7738dcb9d1c62c05d2e787c9..2394dcb6be11cab18a319f39ec3682943e28485b 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -127,7 +127,7 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
size_t GPUMemoryUsageInBytes() const;
- gfx::Size size() const { return size_; }
+ gfx::Size desired_texture_size() const { return desired_texture_size_; }
void set_tiling_index(int i, int j) {
tiling_i_index_ = i;
@@ -146,7 +146,7 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
// Methods called by by tile manager.
Tile(TileManager* tile_manager,
RasterSource* raster_source,
- const gfx::Size& tile_size,
+ const gfx::Size& desired_texture_size,
const gfx::Rect& content_rect,
float contents_scale,
int layer_id,
@@ -157,7 +157,7 @@ class CC_EXPORT Tile : public RefCountedManaged<Tile> {
bool HasRasterTask() const { return !!raster_task_.get(); }
scoped_refptr<RasterSource> raster_source_;
- gfx::Size size_;
+ gfx::Size desired_texture_size_;
gfx::Rect content_rect_;
float contents_scale_;
bool is_occluded_[NUM_TREES];
« no previous file with comments | « cc/resources/software_rasterizer.cc ('k') | cc/resources/tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698