/external/chromium_org/cc/resources/ |
prioritized_tile_set.h | 14 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];
|
tile.cc | 5 #include "cc/resources/tile.h" 16 Tile::Id Tile::s_next_id_ = 0; 18 Tile::Tile(TileManager* tile_manager, 27 : RefCountedManaged<Tile>(tile_manager), 40 Tile::~Tile() { 43 "cc::Tile", this); 46 void Tile::SetPriority(WhichTree tree, const TilePriority& priority) [all...] |
tile_manager.h | 27 #include "cc/resources/tile.h" 34 // Returns the set of layers that the tile manager should consider for raster. 40 // Called when the visible representation of a tile might have changed. Some 42 // - 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> { 210 Tile* tile = tiles[i]; local [all...] |
layer_tiling_data.h | 43 // Change the tile size. This may invalidate all the existing tiles. 54 class Tile { 56 Tile() : i_(-1), j_(-1) {} 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 [all...] |
picture_layer_tiling.h | 18 #include "cc/resources/tile.h" 28 // Create a tile at the given content_rect (in the contents scale of the 29 // tiling) This might return null if the client cannot create such a tile. 30 virtual scoped_refptr<Tile> CreateTile( 33 virtual void UpdatePile(Tile* tile) = 0; 58 Tile* operator*() { return current_tile_; } 75 bool TileNeedsRaster(Tile* tile) const { 76 RasterMode mode = tile->DetermineRasterModeForTree(tree_) [all...] |
prioritized_tile_set_unittest.cc | 10 #include "cc/resources/tile.h" 24 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(); local 106 set.InsertTile(tile, NOW_BIN); 110 EXPECT_TRUE(*it == tile.get()); 125 std::vector<scoped_refptr<Tile> > tiles; 128 scoped_refptr<Tile> tile = CreateTile() local 160 scoped_refptr<Tile> tile = CreateTile(); local 194 scoped_refptr<Tile> tile = CreateTile(); local 229 scoped_refptr<Tile> tile = CreateTile(); local 260 scoped_refptr<Tile> tile = CreateTile(); local 294 scoped_refptr<Tile> tile = CreateTile(); local 328 scoped_refptr<Tile> tile = CreateTile(); local 362 scoped_refptr<Tile> tile = CreateTile(); local 444 scoped_refptr<Tile> tile = CreateTile(); local 555 scoped_refptr<Tile> tile = CreateTile(); local [all...] |
tile.h | 21 class CC_EXPORT Tile : public RefCountedManaged<Tile> { 138 // Methods called by by tile manager. 139 Tile(TileManager* tile_manager, 148 ~Tile(); 170 DISALLOW_COPY_AND_ASSIGN(Tile);
|
picture_layer_tiling_set.h | 81 Tile* operator->() const; 82 Tile* operator*() const;
|
layer_tiling_data.cc | 56 void LayerTilingData::AddTile(scoped_ptr<Tile> tile, int i, int j) { 58 tile->move_to(i, j); 59 tiles_.add(std::make_pair(i, j), tile.Pass()); 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 { 88 gfx::Rect tile_rect = tiling_data_.TileBoundsWithBorder(tile->i(), tile->j()) 103 Tile* tile = TileAt(i, j); local [all...] |
prioritized_tile_set.cc | 10 #include "cc/resources/tile.h" 16 bool operator()(const Tile* a, 17 const Tile* b) const { 43 typedef std::vector<Tile*> TileVector; 72 void PrioritizedTileSet::InsertTile(Tile* tile, ManagedTileBin bin) { 73 tiles_[bin].push_back(tile); 120 Tile* PrioritizedTileSet::Iterator::operator*() {
|
tile_manager_unittest.cc | 5 #include "cc/resources/tile.h" 26 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(), local 106 tile->SetPriority(ACTIVE_TREE, active_priority); 107 tile->SetPriority(PENDING_TREE, pending_priority); 108 tiles.push_back(tile); 134 // The parametrization specifies whether the max tile limit shoul 620 Tile* tile = *it; local 680 Tile* tile = *it; local 721 Tile* tile = *it; local 793 Tile* tile = *it; local 859 Tile* tile = *it; local 889 Tile* tile = *it; local [all...] |
/external/chromium_org/cc/test/ |
fake_tile_manager.h | 21 bool HasBeenAssignedMemory(Tile* tile); 27 virtual void Release(Tile* tile) OVERRIDE; 29 std::vector<Tile*> tiles_for_raster;
|
fake_tile_manager_client.h | 22 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE {}
|
fake_picture_layer_impl.cc | 8 #include "cc/resources/tile.h" 92 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); 94 Tile* tile = tiles[tile_idx]; local 99 tile->SetPriority(tree, priority); 108 std::vector<Tile*> tiles = tiling->AllTilesForTesting(); 110 Tile* tile = tiles[tile_idx]; local 111 tile->SetPriority(ACTIVE_TREE, TilePriority()); 112 tile->SetPriority(PENDING_TREE, TilePriority()) 129 Tile* tile = tiles[tile_idx]; local [all...] |
fake_picture_layer_tiling_client.cc | 42 scoped_refptr<Tile> FakePictureLayerTilingClient::CreateTile( 46 return scoped_refptr<Tile>();
|
fake_picture_layer_tiling_client.h | 10 #include "cc/resources/tile.h" 24 virtual scoped_refptr<Tile> CreateTile( 26 virtual void UpdatePile(Tile* tile) OVERRIDE {}
|
fake_tile_manager.cc | 91 bool FakeTileManager::HasBeenAssignedMemory(Tile* tile) { 94 tile) != tiles_for_raster.end(); 101 void FakeTileManager::Release(Tile* tile) { 102 TileManager::Release(tile);
|
/external/chromium_org/cc/layers/ |
picture_layer_impl.h | 26 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; 129 // Functions used by tile manager. 176 std::set<const Tile*>* tiles) const OVERRIDE [all...] |
/external/chromium_org/gpu/tools/compositor_model_bench/ |
render_tree.h | 25 struct Tile { 96 void add_tile(Tile t) { 104 Tile* tile(size_t index) { function in class:RenderNode 131 std::vector<Tile> tiles_;
|
render_model_utils.h | 25 typedef std::vector<Tile>::iterator tile_iter;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 37 // upload the whole bitmap but we reduce the time of uploading each tile 49 private static Tile sFreeTileHead = null; 59 private final Tile[] mTiles; // Can be modified in different threads. 112 private static class Tile extends UploadedTexture { 116 public Tile nextFreeTile; 161 private static void freeTile(Tile tile) { 162 tile.invalidateContent(); 163 tile.bitmap = null; 165 tile.nextFreeTile = sFreeTileHead 209 Tile tile = obtainTile(); local [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
TiledImageRenderer.java | 46 * This is the tile state in the CPU side. 47 * Life of a Tile: 96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 131 * If the source does not care about the tile size, it should use 146 * The tile returned by this method can be specified this way: Assuming 253 // 1. Decide the tile level we want to use for display. 254 // 2. Decide the tile levels we want to keep as texture (in addition to 264 // The tile levels we want to keep as texture is in the range 272 // We want to keep one more tile level as texture in addition to wha 310 Tile tile = mActiveTiles.valueAt(i); local 342 Tile tile = mActiveTiles.valueAt(i); local 395 Tile tile = mRecycledQueue.pop(); local 474 Tile tile = mActiveTiles.valueAt(i); local 521 Tile tile = mRecycledQueue.pop(); local 548 Tile tile = mActiveTiles.get(key); local 572 Tile tile = null; local 603 Tile tile = getTile(tx, ty, level); local 755 Tile tile = mHead; local 803 Tile tile = mDecodeQueue.pop(); local 816 Tile tile = waitForTile(); local [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageRenderer.java | 46 * This is the tile state in the CPU side. 47 * Life of a Tile: 96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 131 * If the source does not care about the tile size, it should use 146 * The tile returned by this method can be specified this way: Assuming 253 // 1. Decide the tile level we want to use for display. 254 // 2. Decide the tile levels we want to keep as texture (in addition to 264 // The tile levels we want to keep as texture is in the range 272 // We want to keep one more tile level as texture in addition to wha 310 Tile tile = mActiveTiles.valueAt(i); local 342 Tile tile = mActiveTiles.valueAt(i); local 395 Tile tile = mRecycledQueue.pop(); local 474 Tile tile = mActiveTiles.valueAt(i); local 521 Tile tile = mRecycledQueue.pop(); local 548 Tile tile = mActiveTiles.get(key); local 572 Tile tile = null; local 603 Tile tile = getTile(tx, ty, level); local 755 Tile tile = mHead; local 803 Tile tile = mDecodeQueue.pop(); local 816 Tile tile = waitForTile(); local [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
TiledImageRenderer.java | 46 * This is the tile state in the CPU side. 47 * Life of a Tile: 96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 131 * If the source does not care about the tile size, it should use 146 * The tile returned by this method can be specified this way: Assuming 253 // 1. Decide the tile level we want to use for display. 254 // 2. Decide the tile levels we want to keep as texture (in addition to 264 // The tile levels we want to keep as texture is in the range 272 // We want to keep one more tile level as texture in addition to wha 310 Tile tile = mActiveTiles.valueAt(i); local 342 Tile tile = mActiveTiles.valueAt(i); local 395 Tile tile = mRecycledQueue.pop(); local 474 Tile tile = mActiveTiles.valueAt(i); local 521 Tile tile = mRecycledQueue.pop(); local 548 Tile tile = mActiveTiles.get(key); local 572 Tile tile = null; local 603 Tile tile = getTile(tx, ty, level); local 755 Tile tile = mHead; local 803 Tile tile = mDecodeQueue.pop(); local 816 Tile tile = waitForTile(); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 53 * This is the tile state in the CPU side. 54 * Life of a Tile: 89 // The offsets of the (left, top) of the upper-left tile to the (left, top) 100 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 132 // The tile returned by this method can be specified this way: Assuming 201 // 1. Decide the tile level we want to use for display. 202 // 2. Decide the tile levels we want to keep as texture (in addition to 211 // The tile levels we want to keep as texture is in the range 219 // We want to keep one more tile level as texture in addition to wha 255 Tile tile = mActiveTiles.valueAt(i); local 286 Tile tile = mActiveTiles.valueAt(i); local 387 Tile tile = mRecycledQueue.pop(); local 471 Tile tile = mActiveTiles.valueAt(i); local 514 Tile tile = mRecycledQueue.pop(); local 538 Tile tile = mActiveTiles.get(key); local 569 Tile tile = null; local 597 Tile tile = getTile(tx, ty, level); local 740 Tile tile = mHead; local 773 Tile tile = null; local [all...] |