/external/chromium_org/cc/resources/ |
D | tile_manager.h | 56 virtual void NotifyTileStateChanged(const Tile* tile) = 0; 88 public RefCountedManager<Tile> { 110 scoped_refptr<Tile> CreateTile(PicturePileImpl* picture_pile, 125 void InitializeTilesWithResourcesForTesting(const std::vector<Tile*>& tiles) { in InitializeTilesWithResourcesForTesting() 139 void ReleaseTileResourcesForTesting(const std::vector<Tile*>& tiles) { in ReleaseTileResourcesForTesting() 141 Tile* tile = tiles[i]; in ReleaseTileResourcesForTesting() 166 std::vector<Tile*> AllTilesForTesting() const { in AllTilesForTesting() 167 std::vector<Tile*> tiles; in AllTilesForTesting() 183 friend class Tile; variable 184 void DidChangeTilePriority(Tile* tile); [all …]
|
D | tile.cc | 17 Tile::Id Tile::s_next_id_ = 0; 19 Tile::Tile(TileManager* tile_manager, in Tile() function in cc::Tile 27 : RefCountedManaged<Tile>(tile_manager), in Tile() 42 Tile::~Tile() { in ~Tile() 48 void Tile::SetPriority(WhichTree tree, const TilePriority& priority) { in SetPriority() 56 void Tile::MarkRequiredForActivation() { in MarkRequiredForActivation() 64 void Tile::AsValueInto(base::debug::TracedValue* res) const { in AsValueInto() 93 size_t Tile::GPUMemoryUsageInBytes() const { in GPUMemoryUsageInBytes() 100 RasterMode Tile::DetermineRasterModeForTree(WhichTree tree) const { in DetermineRasterModeForTree() 104 RasterMode Tile::DetermineOverallRasterMode() const { in DetermineOverallRasterMode() [all …]
|
D | picture_layer_tiling.h | 38 virtual scoped_refptr<Tile> CreateTile( 76 const Tile* operator*() const { return current_tile_; } 77 Tile* operator*() { return current_tile_; } 103 bool TileNeedsRaster(Tile* tile) const { in TileNeedsRaster() 113 Tile* current_tile_; 127 const Tile* operator*() const; 128 Tile* operator*(); 132 const std::vector<Tile*>* eviction_tiles_; 158 Tile* TileAt(int i, int j) const { in TileAt() 169 std::vector<Tile*> AllTilesForTesting() const { in AllTilesForTesting() [all …]
|
D | prioritized_tile_set_unittest.cc | 24 bool operator()(const scoped_refptr<Tile>& a, in operator ()() 25 const scoped_refptr<Tile>& b) const { in operator ()() 72 scoped_refptr<Tile> CreateTile() { in CreateTile() 81 void ReleaseTiles(std::vector<scoped_refptr<Tile> >* tiles) { in ReleaseTiles() 82 for (std::vector<scoped_refptr<Tile> >::iterator it = tiles->begin(); in ReleaseTiles() 85 Tile* tile = it->get(); in ReleaseTiles() 115 scoped_refptr<Tile> tile = CreateTile(); in TEST_F() 135 std::vector<scoped_refptr<Tile> > tiles; in TEST_F() 138 scoped_refptr<Tile> tile = CreateTile(); in TEST_F() 169 std::vector<scoped_refptr<Tile> > tiles; in TEST_F() [all …]
|
D | layer_tiling_data.h | 54 class Tile { 56 Tile() : i_(-1), j_(-1) {} in Tile() function 57 virtual ~Tile() {} in ~Tile() 69 DISALLOW_COPY_AND_ASSIGN(Tile); 72 typedef base::ScopedPtrHashMap<TileMapKey, Tile> TileMap; 74 void AddTile(scoped_ptr<Tile> tile, int i, int j); 75 scoped_ptr<Tile> TakeTile(int i, int j); 76 Tile* TileAt(int i, int j) const; 87 gfx::Rect TileRect(const Tile* tile) const;
|
D | prioritized_tile_set.h | 14 class Tile; variable 21 void InsertTile(Tile* tile, ManagedTileBin bin); 34 Tile* operator->() { return *(*this); } 35 Tile* operator*(); 45 std::vector<Tile*>::iterator iterator_; 54 std::vector<Tile*> tiles_[NUM_BINS];
|
D | tile_manager_unittest.cc | 28 typedef std::vector<scoped_refptr<Tile> > TileVector; 97 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE {} in NotifyTileStateChanged() 109 scoped_refptr<Tile> tile = tile_manager_->CreateTile(picture_pile_.get(), in CreateTilesWithSize() 132 Tile* tile = it->get(); in ReleaseTiles() 611 std::set<Tile*> all_tiles; in TEST_F() 623 std::set<Tile*> smoothness_tiles; in TEST_F() 627 Tile* tile = queue.Top(); in TEST_F() 661 std::vector<Tile*> pending_high_res_tiles = in TEST_F() 666 std::vector<Tile*> pending_low_res_tiles = in TEST_F() 671 std::vector<Tile*> active_high_res_tiles = in TEST_F() [all …]
|
D | raster_tile_priority_queue.cc | 33 const Tile* a_tile = **a_iterator; in operator ()() 34 const Tile* b_tile = **b_iterator; in operator ()() 70 const Tile* shared_tile) { in HigherPriorityTree() 77 const Tile* active_tile = shared_tile ? shared_tile : **active_iterator; in HigherPriorityTree() 78 const Tile* pending_tile = shared_tile ? shared_tile : **pending_iterator; in HigherPriorityTree() 124 Tile* RasterTilePriorityQueue::Top() { in Top() 164 Tile* RasterTilePriorityQueue::PairedPictureLayerQueue::Top( in Top() 172 Tile* tile = **next_iterator; in Top() 197 const Tile* tile = **next_iterator; in Pop()
|
D | prioritized_tile_set.cc | 16 bool operator()(const Tile* a, in operator ()() 17 const Tile* b) const { in operator ()() 43 bool TilePriorityTieBreaker(const Tile* tile_i, const Tile* tile_j) { in TilePriorityTieBreaker() 48 typedef std::vector<Tile*> TileVector; 79 void PrioritizedTileSet::InsertTile(Tile* tile, ManagedTileBin bin) { in InsertTile() 135 Tile* PrioritizedTileSet::Iterator::operator*() { in operator *()
|
D | eviction_tile_priority_queue.cc | 33 const Tile* a_tile = **a_iterator; in operator ()() 34 const Tile* b_tile = **b_iterator; in operator ()() 111 Tile* EvictionTilePriorityQueue::Top() { in Top() 150 Tile* EvictionTilePriorityQueue::PairedPictureLayerQueue::Top( in Top() 159 Tile* tile = **next_iterator; in Top() 206 const Tile* active_tile = *active_iterator; in NextTileIteratorTree() 207 const Tile* pending_tile = *pending_iterator; in NextTileIteratorTree()
|
D | eviction_tile_priority_queue.h | 26 Tile* Top(TreePriority tree_priority); 35 std::vector<Tile*> returned_shared_tiles; 46 Tile* Top();
|
D | raster_tile_priority_queue.h | 27 Tile* Top(TreePriority tree_priority); 37 std::set<const Tile*> returned_tiles_for_debug; 48 Tile* Top();
|
D | tile_manager.cc | 409 void TileManager::Release(Tile* tile) { in Release() 416 void TileManager::DidChangeTilePriority(Tile* tile) { in DidChangeTilePriority() 428 for (std::vector<Tile*>::iterator it = released_tiles_.begin(); in FreeResourcesForReleasedTiles() 431 Tile* tile = *it; in FreeResourcesForReleasedTiles() 441 std::vector<Tile*>::iterator it = released_tiles_.begin(); in CleanUpReleasedTiles() 443 Tile* tile = *it; in CleanUpReleasedTiles() 525 Tile* tile = it->second; in DidFinishRunningTasks() 572 Tile* tile = it->second; in GetTilesWithAssignedBins() 794 Tile* tile = *it; in AssignGpuMemoryToTiles() 920 void TileManager::FreeResourceForTile(Tile* tile, RasterMode mode) { in FreeResourceForTile() [all …]
|
D | picture_layer_tiling_set_unittest.cc | 224 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in runTest() 372 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in ValidateTiling() 374 const Tile* tile = tiles[i]; in ValidateTiling() 427 Tile* FindTileAtOrigin(PictureLayerTiling* tiling) { in FindTileAtOrigin() 428 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in FindTileAtOrigin() 448 Tile* tile1 = FindTileAtOrigin(tiling1); in TEST_F() 455 Tile* tile2 = FindTileAtOrigin(tiling2); in TEST_F() 516 std::vector<Tile*> old_tiles = target_->tiling_at(0)->AllTilesForTesting(); in TEST_F() 517 std::map<gfx::Point, scoped_refptr<Tile> > old_tile_map; in TEST_F() 524 std::vector<Tile*> new_tiles = target_->tiling_at(0)->AllTilesForTesting(); in TEST_F() [all …]
|
D | tile.h | 21 class CC_EXPORT Tile : public RefCountedManaged<Tile> { 165 Tile(TileManager* tile_manager, 173 ~Tile(); 198 DISALLOW_COPY_AND_ASSIGN(Tile);
|
D | layer_tiling_data.cc | 58 void LayerTilingData::AddTile(scoped_ptr<Tile> tile, int i, int j) { in AddTile() 64 scoped_ptr<LayerTilingData::Tile> LayerTilingData::TakeTile(int i, int j) { in TakeTile() 68 LayerTilingData::Tile* LayerTilingData::TileAt(int i, int j) const { in TileAt() 89 gfx::Rect LayerTilingData::TileRect(const Tile* tile) const { in TileRect()
|
D | picture_layer_tiling.cc | 34 bool operator()(const Tile* a, const Tile* b) { in operator ()() 57 void ReleaseTile(Tile* tile, WhichTree tree) { in ReleaseTile() 117 Tile* PictureLayerTiling::CreateTile(int i, in CreateTile() 131 if (Tile* candidate_tile = twin_tiling->TileAt(i, j)) { in CreateTile() 144 scoped_refptr<Tile> tile = client_->CreateTile(this, tile_rect); in CreateTile() 603 Tile* tile = find->second.get(); in UpdateTilePriorities() 625 Tile* tile = find->second.get(); in UpdateTilePriorities() 648 Tile* tile = find->second.get(); in UpdateTilePriorities() 674 Tile* tile = find->second.get(); in UpdateTilePriorities() 773 std::set<const Tile*>* tiles) const { in GetAllTilesForTracing() [all …]
|
D | picture_layer_tiling_perftest.cc | 226 std::vector<Tile*> all_tiles = picture_layer_tiling_->AllTilesForTesting(); in RunEvictionIteratorConstructAndIterateTest() 227 for (std::vector<Tile*>::iterator tile_it = all_tiles.begin(); in RunEvictionIteratorConstructAndIterateTest() 230 Tile* tile = *tile_it; in RunEvictionIteratorConstructAndIterateTest() 256 for (std::vector<Tile*>::iterator tile_it = all_tiles.begin(); in RunEvictionIteratorConstructAndIterateTest() 259 Tile* tile = *tile_it; in RunEvictionIteratorConstructAndIterateTest()
|
/external/chromium_org/ui/file_manager/gallery/js/ |
D | mosaic_mode.js | 146 new Mosaic.Tile(this, this.dataModel_.item(i), locationInfo)); 436 newTiles.push(new Mosaic.Tile(this, this.dataModel_.item(index + t))); 468 Mosaic.Tile.LoadMode.HIGH_DPI, 579 var loadMode = this.isVisible_() ? Mosaic.Tile.LoadMode.HIGH_DPI : 580 Mosaic.Tile.LoadMode.LOW_DPI; 600 tile.load(Mosaic.Tile.LoadMode.LOW_DPI, function() {}); 1417 var allSmall = Math.max.apply(null, sizes) <= Mosaic.Tile.SMALL_IMAGE_SIZE; 1422 var allLarge = Math.min.apply(null, sizes) > Mosaic.Tile.SMALL_IMAGE_SIZE; 1602 Mosaic.Tile = function(container, item, locationInfo) { class in Mosaic 1604 Mosaic.Tile.decorate(self, container, item, locationInfo); [all …]
|
/external/chromium_org/cc/layers/ |
D | picture_layer_impl.h | 25 class Tile; variable 46 Tile* operator*(); 47 const Tile* operator*() const; 77 Tile* operator*(); 78 const Tile* operator*() const; 114 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE; 121 virtual scoped_refptr<Tile> CreateTile( 196 std::set<const Tile*>* tiles) const OVERRIDE;
|
D | picture_layer_impl_unittest.cc | 211 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in AssertAllTilesRequired() 218 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in AssertNoTilesRequired() 243 std::vector<Tile*> tiles = in TestTileGridAlignmentCommon() 247 std::vector<Tile*>::const_iterator tile_iter; in TestTileGridAlignmentCommon() 611 std::vector<Tile*> active_tiles = in TEST_F() 613 std::vector<Tile*> pending_tiles = tiling->AllTilesForTesting(); in TEST_F() 1304 Tile* tile = pending_layer_->tilings()->tiling_at(0)->AllTilesForTesting()[0]; in TEST_F() 1376 Tile* tile = pending_layer_->tilings()->tiling_at(0)->AllTilesForTesting()[0]; in TEST_F() 1498 Tile* tile = *iter; in TEST_F() 1524 const Tile* tile = *iter; in TEST_F() [all …]
|
/external/chromium_org/cc/test/ |
D | fake_picture_layer_impl.cc | 108 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in SetAllTilesVisible() 110 Tile* tile = tiles[tile_idx]; in SetAllTilesVisible() 124 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in ResetAllTilesPriorities() 126 Tile* tile = tiles[tile_idx]; in ResetAllTilesPriorities() 143 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); in SetAllTilesReadyInTiling() 145 Tile* tile = tiles[tile_idx]; in SetAllTilesReadyInTiling() 150 void FakePictureLayerImpl::SetTileReady(Tile* tile) { in SetTileReady()
|
D | fake_tile_manager.h | 21 bool HasBeenAssignedMemory(Tile* tile); 25 virtual void Release(Tile* tile) OVERRIDE; 27 std::vector<Tile*> tiles_for_raster;
|
/external/chromium_org/gpu/tools/compositor_model_bench/ |
D | render_tree.h | 25 struct Tile { struct 96 void add_tile(Tile t) { in add_tile() 104 Tile* tile(size_t index) { in tile() 131 std::vector<Tile> tiles_;
|
/external/chromium_org/third_party/skia/dm/ |
D | DMQuiltTask.cpp | 35 class Tile : public SkRunnable { class 37 Tile(int x, int y, const SkPicture& picture, SkBitmap* quilt) in Tile() function in DM::Tile 103 tg.add(new Tile(x, y, *recorded, &full)); in draw()
|