Home
last modified time | relevance | path

Searched refs:pile_ (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/cc/resources/
Dpicture_pile_unittest.cc313 EXPECT_TRUE(pile_->CanRasterLayerRect(rect)); in TEST_F()
314 EXPECT_TRUE(pile_->CanRasterSlowTileCheck(rect)); in TEST_F()
316 pile_->Clear(); in TEST_F()
320 EXPECT_FALSE(pile_->CanRasterLayerRect(rect)); in TEST_F()
321 EXPECT_FALSE(pile_->CanRasterSlowTileCheck(rect)); in TEST_F()
329 gfx::Size layer_size = gfx::ToFlooredSize(gfx::ScaleSize(pile_->size(), 4.f)); in TEST_F()
330 pile_->Resize(layer_size); in TEST_F()
332 gfx::Rect tile01_borders = pile_->tiling().TileBoundsWithBorder(0, 1); in TEST_F()
333 gfx::Rect tile02_borders = pile_->tiling().TileBoundsWithBorder(0, 2); in TEST_F()
334 gfx::Rect tile01_noborders = pile_->tiling().TileBounds(0, 1); in TEST_F()
[all …]
/external/chromium_org/cc/layers/
Dpicture_layer.cc20 pile_(make_scoped_refptr(new PicturePile())), in PictureLayer()
45 pile_->Resize(gfx::Size()); in PushPropertiesTo()
49 DCHECK_EQ(layer_impl->bounds().ToString(), pile_->size().ToString()); in PushPropertiesTo()
57 layer_impl->pile_ = PicturePileImpl::CreateFromOther(pile_.get()); in PushPropertiesTo()
63 pile_->SetMinContentsScale(host->settings().minimum_contents_scale); in SetLayerTreeHost()
64 pile_->SetTileGridSize(host->settings().default_tile_size); in SetLayerTreeHost()
65 pile_->set_num_raster_threads(host->settings().num_raster_threads); in SetLayerTreeHost()
66 pile_->set_slow_down_raster_scale_factor( in SetLayerTreeHost()
68 pile_->set_show_debug_picture_borders( in SetLayerTreeHost()
89 pile_->size() == paint_properties().bounds && in Update()
[all …]
Dpicture_layer_impl.cc42 pile_(PicturePileImpl::Create()), in PictureLayerImpl()
93 layer_impl->pile_ = pile_; in PushPropertiesTo()
152 pile_); in AppendQuads()
273 pile_); in AppendQuads()
379 pile_->DidBeginTracing(); in DidBeginTracing()
456 return pile_->GetFlattenedPicture(); in GetPicture()
468 if (!pile_->CanRaster(tiling->contents_scale(), content_rect)) in CreateTile()
477 pile_.get(), in CreateTile()
488 tile->set_picture_pile(pile_); in UpdatePile()
582 for (int x = 0; x < pile_->num_tiles_x(); ++x) { in SyncFromActiveLayer()
[all …]
Dpicture_layer.h50 scoped_refptr<PicturePile> pile_; variable
Dpicture_image_layer_impl_unittest.cc60 layer->pile_ = tiling_client_.pile(); in CreateLayer()
Dpicture_layer_impl.h119 scoped_refptr<PicturePileImpl> pile_; variable
/external/chromium_org/cc/test/
Dfake_picture_layer_tiling_client.cc15 pile_(FakePicturePileImpl::CreateInfiniteFilledPile()), in FakePictureLayerTilingClient()
23 pile_(new FakeInfinitePicturePileImpl()), in FakePictureLayerTilingClient()
36 pile_.get(), tile_size_, rect, gfx::Rect(), 1, 0, 0, Tile::USE_LCD_TEXT); in CreateTile()
Dfake_picture_layer_tiling_client.h32 scoped_refptr<PicturePileImpl> pile() { return pile_; } in pile()
33 const PicturePileImpl* pile() const { return pile_.get(); } in pile()
51 scoped_refptr<PicturePileImpl> pile_; variable
Dfake_picture_layer_impl.cc19 pile_ = pile; in FakePictureLayerImpl()
20 SetBounds(pile_->size()); in FakePictureLayerImpl()
Dfake_picture_layer_impl.h51 PicturePileImpl* pile() { return pile_.get(); } in pile()