Searched refs:Tile (Results 1 - 25 of 47) sorted by relevance

12

/external/chromium_org/cc/resources/
H A Dprioritized_tile_set.h14 class Tile;
21 void InsertTile(Tile* tile, ManagedTileBin bin);
33 Tile* operator->() { return *(*this); }
34 Tile* operator*();
44 std::vector<Tile*>::iterator iterator_;
53 std::vector<Tile*> tiles_[NUM_BINS];
H A Dtile.cc16 Tile::Id Tile::s_next_id_ = 0;
18 Tile::Tile(TileManager* tile_manager, function in class:cc::Tile
27 : RefCountedManaged<Tile>(tile_manager),
40 Tile::~Tile() {
43 "cc::Tile", this);
46 void Tile::SetPriority(WhichTree tree, const TilePriority& priority) {
54 void Tile
[all...]
H A Dtile_manager.h42 // - Tile version initialized.
43 // - Tile resources freed.
44 // - Tile marked for on-demand raster.
45 virtual void NotifyTileStateChanged(const Tile* tile) = 0;
61 // should no longer have any memory assigned to them. Tile objects are "owned"
65 public RefCountedManager<Tile> {
82 Tile* operator*();
89 Tile* PeekTile(TreePriority tree_priority);
98 std::vector<Tile*> returned_shared_tiles;
128 Tile* operato
[all...]
H A Dlayer_tiling_data.h54 class Tile { class in class:cc::LayerTilingData
56 Tile() : i_(-1), j_(-1) {} function in class:cc::LayerTilingData::Tile
57 virtual ~Tile() {}
74 DISALLOW_COPY_AND_ASSIGN(Tile);
77 typedef base::ScopedPtrHashMap<TileMapKey, Tile> TileMap;
79 void AddTile(scoped_ptr<Tile> tile, int i, int j);
80 scoped_ptr<Tile> TakeTile(int i, int j);
81 Tile* TileAt(int i, int j) const;
92 gfx::Rect TileRect(const Tile* tile) const;
H A Dpicture_layer_tiling.h30 virtual scoped_refptr<Tile> CreateTile(
33 virtual void UpdatePile(Tile* tile) = 0;
58 Tile* operator*() { return current_tile_; }
75 bool TileNeedsRaster(Tile* tile) const {
89 Tile* current_tile_;
103 Tile* operator*();
119 std::vector<Tile*>::iterator tile_iterator_;
144 Tile* TileAt(int i, int j) const {
153 std::vector<Tile*> AllTilesForTesting() const {
154 std::vector<Tile*> all_tile
[all...]
H A Dprioritized_tile_set_unittest.cc24 bool operator()(const scoped_refptr<Tile>& a,
25 const scoped_refptr<Tile>& b) const {
70 scoped_refptr<Tile> CreateTile() {
105 scoped_refptr<Tile> tile = CreateTile();
125 std::vector<scoped_refptr<Tile> > tiles;
128 scoped_refptr<Tile> tile = CreateTile();
157 std::vector<scoped_refptr<Tile> > tiles;
160 scoped_refptr<Tile> tile = CreateTile();
191 std::vector<scoped_refptr<Tile> > tiles;
194 scoped_refptr<Tile> til
[all...]
H A Dprioritized_tile_set.cc16 bool operator()(const Tile* a,
17 const Tile* b) const {
43 typedef std::vector<Tile*> TileVector;
72 void PrioritizedTileSet::InsertTile(Tile* tile, ManagedTileBin bin) {
120 Tile* PrioritizedTileSet::Iterator::operator*() {
H A Dlayer_tiling_data.cc56 void LayerTilingData::AddTile(scoped_ptr<Tile> tile, int i, int j) {
62 scoped_ptr<LayerTilingData::Tile> LayerTilingData::TakeTile(int i, int j) {
66 LayerTilingData::Tile* LayerTilingData::TileAt(int i, int j) const {
87 gfx::Rect LayerTilingData::TileRect(const Tile* tile) const {
103 Tile* tile = TileAt(i, j);
H A Dtile.h21 class CC_EXPORT Tile : public RefCountedManaged<Tile> { class in namespace:cc
139 Tile(TileManager* tile_manager,
148 ~Tile();
170 DISALLOW_COPY_AND_ASSIGN(Tile);
H A Dtile_manager_unittest.cc26 typedef std::vector<scoped_refptr<Tile> > TileVector;
90 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE {}
98 scoped_refptr<Tile> tile = tile_manager_->CreateTile(picture_pile_.get(),
604 std::set<Tile*> all_tiles;
615 std::set<Tile*> smoothness_tiles;
620 Tile* tile = *it;
651 std::vector<Tile*> pending_high_res_tiles =
656 std::vector<Tile*> pending_low_res_tiles =
661 std::vector<Tile*> active_high_res_tiles =
666 std::vector<Tile*> active_low_res_tile
[all...]
H A Dpicture_layer_tiling_set.h81 Tile* operator->() const;
82 Tile* operator*() const;
H A Dtile_manager.cc408 void TileManager::Release(Tile* tile) {
413 void TileManager::DidChangeTilePriority(Tile* tile) {
422 for (std::vector<Tile*>::iterator it = released_tiles_.begin();
425 Tile* tile = *it;
499 Tile* tile = it->second;
538 Tile* tile = it->second;
750 Tile* tile = *it;
806 // Tile is OOM.
837 // Tile shouldn't be rasterized if |tiles_that_need_to_be_rasterized|
842 // 1. Tile siz
[all...]
H A Dpicture_layer_tiling_set_unittest.cc83 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
227 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
229 const Tile* tile = tiles[i];
279 Tile* FindTileAtOrigin(PictureLayerTiling* tiling) {
280 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
300 Tile* tile1 = FindTileAtOrigin(tiling1);
307 Tile* tile2 = FindTileAtOrigin(tiling2);
368 std::vector<Tile*> old_tiles = target_->tiling_at(0)->AllTilesForTesting();
369 std::map<gfx::Point, scoped_refptr<Tile> > old_tile_map;
376 std::vector<Tile*> new_tile
[all...]
/external/chromium_org/cc/test/
H A Dfake_tile_manager.h21 bool HasBeenAssignedMemory(Tile* tile);
27 virtual void Release(Tile* tile) OVERRIDE;
29 std::vector<Tile*> tiles_for_raster;
H A Dfake_tile_manager_client.h22 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE {}
H A Dfake_picture_layer_impl.cc92 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
94 Tile* tile = tiles[tile_idx];
108 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
110 Tile* tile = tiles[tile_idx];
127 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
129 Tile* tile = tiles[tile_idx];
H A Dfake_picture_layer_tiling_client.cc42 scoped_refptr<Tile> FakePictureLayerTilingClient::CreateTile(
46 return scoped_refptr<Tile>();
H A Dfake_picture_layer_tiling_client.h24 virtual scoped_refptr<Tile> CreateTile(
26 virtual void UpdatePile(Tile* tile) OVERRIDE {}
H A Dfake_tile_manager.cc91 bool FakeTileManager::HasBeenAssignedMemory(Tile* tile) {
101 void FakeTileManager::Release(Tile* tile) {
/external/chromium_org/ui/file_manager/file_manager/foreground/js/photo/
H A Dmosaic_mode.js154 new Mosaic.Tile(this, this.dataModel_.item(i), locationInfo));
261 * @return {Mosaic.Tile} Selected tile or undefined if no selection.
268 * @param {number} index Tile index.
269 * @return {Rect} Tile's image rectangle.
277 * @param {number} index Tile index.
288 * @param {Array.<Mosaic.Tile>} tiles Array of tiles.
323 * @param {Mosaic.Tile} tile Tile.
482 newTiles.push(new Mosaic.Tile(this, this.dataModel_.item(index + t)));
513 Mosaic.Tile
[all...]
/external/chromium_org/ui/file_manager/gallery/js/
H A Dmosaic_mode.js154 new Mosaic.Tile(this, this.dataModel_.item(i), locationInfo));
261 * @return {Mosaic.Tile} Selected tile or undefined if no selection.
268 * @param {number} index Tile index.
269 * @return {Rect} Tile's image rectangle.
277 * @param {number} index Tile index.
288 * @param {Array.<Mosaic.Tile>} tiles Array of tiles.
323 * @param {Mosaic.Tile} tile Tile.
482 newTiles.push(new Mosaic.Tile(this, this.dataModel_.item(index + t)));
513 Mosaic.Tile
[all...]
/external/chromium_org/cc/layers/
H A Dpicture_layer_impl.h26 class Tile;
38 Tile* operator*();
66 Tile* operator*();
96 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE;
103 virtual scoped_refptr<Tile> CreateTile(
106 virtual void UpdatePile(Tile* tile) OVERRIDE;
176 std::set<const Tile*>* tiles) const OVERRIDE;
/external/chromium_org/gpu/tools/compositor_model_bench/
H A Drender_tree.h25 struct Tile { struct
96 void add_tile(Tile t) {
104 Tile* tile(size_t index) {
131 std::vector<Tile> tiles_;
H A Dforward_render_model.cc36 const Tile* i = l->tile(n);
H A Drender_model_utils.h25 typedef std::vector<Tile>::iterator tile_iter;

Completed in 316 milliseconds

12