/external/chromium_org/cc/resources/ |
picture_pile_base.h | 34 gfx::Size tiling_size() const { return tiling_.tiling_size(); } 42 int num_tiles_x() const { return tiling_.num_tiles_x(); } 43 int num_tiles_y() const { return tiling_.num_tiles_y(); } 44 gfx::Rect tile_bounds(int x, int y) const { return tiling_.TileBounds(x, y); } 64 TilingData& tiling() { return tiling_; } 101 int buffer_pixels() const { return tiling_.border_texels(); } 114 TilingData tiling_; member in class:cc::PicturePileBase
|
picture_layer_tiling_unittest.cc | 87 tiling_ = TestablePictureLayerTiling::Create(contents_scale, 93 tiling_->SetLiveTilesRect(live_tiles_rect); 95 std::vector<Tile*> tiles = tiling_->AllTilesForTesting(); 113 float dest_to_contents_scale = tiling_->contents_scale() / rect_scale; 118 iter(tiling_.get(), rect_scale, request_rect); 150 VerifyTiles(tiling_.get(), 174 float dest_to_contents_scale = tiling_->contents_scale() / rect_scale; 176 gfx::Rect(tiling_->tiling_size()), 1.f / dest_to_contents_scale); 187 scoped_ptr<TestablePictureLayerTiling> tiling_; member in class:cc::__anon7379::PictureLayerTilingIteratorTest 202 EXPECT_TRUE(tiling_->TileAt(0, 0)) [all...] |
picture_pile_base.cc | 55 tiling_.SetMaxTextureSize(gfx::Size(kBasePictureSize, kBasePictureSize)); 63 tiling_(other->tiling_), 130 tiling_.SetBorderTexels(new_buffer_pixels); 147 if (tiling_.tiling_size().IsEmpty()) 151 layer_rect.Intersect(gfx::Rect(tiling_.tiling_size())); 166 for (TilingData::Iterator tile_iter(&tiling_, layer_rect, include_borders); 179 gfx::Rect tile = tiling_.TileBounds(key.first, key.second); 191 gfx::Rect tiling_rect(tiling_.tiling_size()); 194 for (TilingData::Iterator tile_iter(&tiling_, tiling_rect, include_borders) [all...] |
picture_pile.cc | 180 tiling_.SetTilingSize(layer_size); 190 tiling_.ExpandRectToTileBounds(interest_rect); 207 int min_toss_x = tiling_.num_tiles_x(); 210 tiling_.FirstBorderTileXIndexFromSrcCoord(min_tiling_size.width()); 212 int min_toss_y = tiling_.num_tiles_y(); 215 tiling_.FirstBorderTileYIndexFromSrcCoord(min_tiling_size.height()); 238 tiling_.ExpandRectToTileBounds(gfx::Rect(min_tiling_size)); 239 if (min_toss_x < tiling_.num_tiles_x()) { 321 int left = tiling_.TilePositionX(min_toss_x); 322 int right = left + tiling_.TileSizeX(min_toss_x) [all...] |
picture_layer_tiling.cc | 314 : tiling_(NULL), 328 : tiling_(tiling), 338 DCHECK(tiling_); 342 dest_to_content_scale_ = tiling_->contents_scale_ / dest_scale; 350 content_rect.Intersect(gfx::Rect(tiling_->tiling_size())); 354 left_ = tiling_->tiling_data_.TileXIndexFromSrcCoord(content_rect.x()); 355 top_ = tiling_->tiling_data_.TileYIndexFromSrcCoord(content_rect.y()); 356 right_ = tiling_->tiling_data_.TileXIndexFromSrcCoord( 358 bottom_ = tiling_->tiling_data_.TileYIndexFromSrcCoord( 387 current_tile_ = tiling_->TileAt(tile_i_, tile_j_) [all...] |
picture_pile_impl.cc | 83 gfx::ScaleRect(gfx::Rect(tiling_.tiling_size()), contents_scale)); 164 for (TilingData::Iterator tile_iter(&tiling_, layer_rect, include_borders); 239 gfx::ScaleRect(gfx::Rect(tiling_.tiling_size()), contents_scale)); 315 gfx::Rect tiling_rect(tiling_.tiling_size()); 343 layer_rect.Intersect(gfx::Rect(tiling_.tiling_size())); 369 tile_iterator_(&picture_pile_->tiling_,
|
picture_layer_tiling.h | 108 PictureLayerTiling* tiling_; member in class:cc::PictureLayerTiling::TilingRasterTileIterator 221 const PictureLayerTiling* tiling_; member in class:cc::PictureLayerTiling::CoverageIterator
|
/external/chromium_org/cc/test/ |
fake_picture_pile_impl.cc | 78 EXPECT_LT(x, tiling_.num_tiles_x()); 79 EXPECT_LT(y, tiling_.num_tiles_y()); 97 EXPECT_LT(x, tiling_.num_tiles_x()); 98 EXPECT_LT(y, tiling_.num_tiles_y());
|
fake_picture_pile_impl.h | 27 TilingData& tiling() { return tiling_; }
|