Searched refs:tiling_data_ (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/cc/base/ |
D | tiling_data.cc | 270 : tiling_data_(tiling_data), in BaseIterator() 281 if (tiling_data_->num_tiles_x() <= 0 || tiling_data_->num_tiles_y() <= 0) { in Iterator() 287 rect.Intersect(gfx::Rect(tiling_data_->total_size())); in Iterator() 291 index_x_ = tiling_data_->FirstBorderTileXIndexFromSrcCoord(rect.x()); in Iterator() 292 index_y_ = tiling_data_->FirstBorderTileYIndexFromSrcCoord(rect.y()); in Iterator() 293 right_ = tiling_data_->LastBorderTileXIndexFromSrcCoord(rect.right() - 1); in Iterator() 294 bottom_ = tiling_data_->LastBorderTileYIndexFromSrcCoord(rect.bottom() - 1); in Iterator() 295 top_left_tile = tiling_data_->TileBoundsWithBorder(index_x_, index_y_); in Iterator() 297 index_x_ = tiling_data_->TileXIndexFromSrcCoord(rect.x()); in Iterator() 298 index_y_ = tiling_data_->TileYIndexFromSrcCoord(rect.y()); in Iterator() [all …]
|
D | tiling_data.h | 84 const TilingData* tiling_data_; variable
|
/external/chromium_org/cc/resources/ |
D | layer_tiling_data.cc | 19 : tiling_data_(tile_size, gfx::Size(), border == HAS_BORDER_TEXELS) { in LayerTilingData() 31 tiling_data_.SetMaxTextureSize(size); in SetTileSize() 35 return tiling_data_.max_texture_size(); in tile_size() 45 tiling_data_.SetHasBorderTexels(border_texels); in SetBorderTexelOption() 50 tiling_data_ = tiler.tiling_data_; in operator =() 80 *left = tiling_data_.TileXIndexFromSrcCoord(content_rect.x()); in ContentRectToTileIndices() 81 *top = tiling_data_.TileYIndexFromSrcCoord(content_rect.y()); in ContentRectToTileIndices() 82 *right = tiling_data_.TileXIndexFromSrcCoord(content_rect.right() - 1); in ContentRectToTileIndices() 83 *bottom = tiling_data_.TileYIndexFromSrcCoord(content_rect.bottom() - 1); in ContentRectToTileIndices() 87 gfx::Rect tile_rect = tiling_data_.TileBoundsWithBorder(tile->i(), tile->j()); in TileRect() [all …]
|
D | layer_tiling_data.h | 33 bool has_empty_bounds() const { return tiling_data_.has_empty_bounds(); } in has_empty_bounds() 34 int num_tiles_x() const { return tiling_data_.num_tiles_x(); } in num_tiles_x() 35 int num_tiles_y() const { return tiling_data_.num_tiles_y(); } in num_tiles_y() 37 return tiling_data_.TileBounds(i, j); in tile_bounds() 40 return tiling_data_.TextureOffset(x_index, y_index); in texture_offset() 48 bool has_border_texels() const { return !!tiling_data_.border_texels(); } in has_border_texels() 83 gfx::Size bounds() const { return tiling_data_.total_size(); } in bounds() 100 TilingData tiling_data_; variable
|
D | picture_layer_tiling.cc | 36 tiling_data_(gfx::Size(), gfx::Size(), true), in PictureLayerTiling() 48 tiling_data_.SetTotalSize(content_bounds); in PictureLayerTiling() 49 tiling_data_.SetMaxTextureSize(tile_size); in PictureLayerTiling() 60 return gfx::Rect(tiling_data_.total_size()); in ContentRect() 80 gfx::Rect paint_rect = tiling_data_.TileBoundsWithBorder(i, j); in CreateTile() 82 tile_rect.set_size(tiling_data_.max_texture_size()); in CreateTile() 86 tiling_data_.max_texture_size() == in CreateTile() 87 twin_tiling->tiling_data_.max_texture_size()) { in CreateTile() 120 &tiling_data_, live_tiles_rect_, include_borders); in CreateMissingTilesInLiveTilesRect() 139 gfx::Size old_content_bounds = tiling_data_.total_size(); in SetLayerBounds() [all …]
|
D | picture_layer_tiling.h | 66 gfx::Size tile_size() const { return tiling_data_.max_texture_size(); } in tile_size() 70 SetLiveTilesRect(gfx::Rect(tiling_data_.total_size())); in CreateAllTilesForTesting() 208 TilingData tiling_data_; variable
|