HomeSort by relevance Sort by last modified time
    Searched refs:Tile (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/chromium_org/cc/resources/
prioritized_tile_set.h 14 class Tile;
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];
tile.cc 5 #include "cc/resources/tile.h"
17 Tile::Id Tile::s_next_id_ = 0;
19 Tile::Tile(TileManager* tile_manager,
27 : RefCountedManaged<Tile>(tile_manager),
42 Tile::~Tile() {
45 "cc::Tile", this);
48 void Tile::SetPriority(WhichTree tree, const TilePriority& priority)
    [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() {}
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
    [all...]
tile_manager.h 28 #include "cc/resources/tile.h"
43 // Returns the set of layers that the tile manager should consider for raster.
51 // Called when the visible representation of a tile might have changed. Some
53 // - Tile version initialized.
54 // - Tile resources freed.
55 // - Tile marked for on-demand raster.
56 virtual void NotifyTileStateChanged(const Tile* tile) = 0;
58 // Given an empty raster tile priority queue, this will build a priority queue
64 // Given an empty eviction tile priority queue, this will build a priorit
141 Tile* tile = tiles[i]; local
    [all...]
picture_layer_tiling.h 18 #include "cc/resources/tile.h"
36 // Create a tile at the given content_rect (in the contents scale of the
37 // tiling) This might return null if the client cannot create such a tile.
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 {
104 RasterMode mode = tile->DetermineRasterModeForTree(tree_);
105 return !tile->is_occluded(tree_) && tile->NeedsRasterForMode(mode)
    [all...]
eviction_tile_priority_queue.h 26 Tile* Top(TreePriority tree_priority);
35 std::vector<Tile*> returned_shared_tiles;
46 Tile* Top();
raster_tile_priority_queue.h 27 Tile* Top(TreePriority tree_priority);
37 std::set<const Tile*> returned_tiles_for_debug;
48 Tile* Top();
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 {
72 scoped_refptr<Tile> CreateTile() {
81 void ReleaseTiles(std::vector<scoped_refptr<Tile> >* tiles) {
82 for (std::vector<scoped_refptr<Tile> >::iterator it = tiles->begin();
85 Tile* tile = it->get(); local
86 tile->SetPriority(ACTIVE_TREE, TilePriority());
87 tile->SetPriority(PENDING_TREE, TilePriority())
115 scoped_refptr<Tile> tile = CreateTile(); local
138 scoped_refptr<Tile> tile = CreateTile(); local
172 scoped_refptr<Tile> tile = CreateTile(); local
208 scoped_refptr<Tile> tile = CreateTile(); local
245 scoped_refptr<Tile> tile = CreateTile(); local
278 scoped_refptr<Tile> tile = CreateTile(); local
314 scoped_refptr<Tile> tile = CreateTile(); local
350 scoped_refptr<Tile> tile = CreateTile(); local
386 scoped_refptr<Tile> tile = CreateTile(); local
470 scoped_refptr<Tile> tile = CreateTile(); local
589 scoped_refptr<Tile> tile = CreateTile(); local
    [all...]
prioritized_tile_set.cc 10 #include "cc/resources/tile.h"
16 bool operator()(const Tile* a,
17 const Tile* b) const {
43 bool TilePriorityTieBreaker(const Tile* tile_i, const Tile* tile_j) {
48 typedef std::vector<Tile*> TileVector;
79 void PrioritizedTileSet::InsertTile(Tile* tile, ManagedTileBin bin) {
80 tiles_[bin].push_back(tile);
135 Tile* PrioritizedTileSet::Iterator::operator*()
    [all...]
layer_tiling_data.cc 58 void LayerTilingData::AddTile(scoped_ptr<Tile> tile, int i, int j) {
60 tile->move_to(i, j);
61 tiles_.add(std::make_pair(i, j), tile.Pass());
64 scoped_ptr<LayerTilingData::Tile> LayerTilingData::TakeTile(int i, int j) {
68 LayerTilingData::Tile* LayerTilingData::TileAt(int i, int j) const {
89 gfx::Rect LayerTilingData::TileRect(const Tile* tile) const {
90 gfx::Rect tile_rect = tiling_data_.TileBoundsWithBorder(tile->i(), tile->j())
    [all...]
raster_tile_priority_queue.cc 33 const Tile* a_tile = **a_iterator;
34 const Tile* b_tile = **b_iterator;
44 // TODO(vmpstr): Remove this when TilePriority is no longer a member of Tile
70 const Tile* shared_tile) {
77 const Tile* active_tile = shared_tile ? shared_tile : **active_iterator;
78 const Tile* pending_tile = shared_tile ? shared_tile : **pending_iterator;
124 Tile* RasterTilePriorityQueue::Top() {
164 Tile* RasterTilePriorityQueue::PairedPictureLayerQueue::Top(
172 Tile* tile = **next_iterator local
197 const Tile* tile = **next_iterator; local
    [all...]
tile.h 21 class CC_EXPORT Tile : public RefCountedManaged<Tile> {
164 // Methods called by by tile manager.
165 Tile(TileManager* tile_manager,
173 ~Tile();
198 DISALLOW_COPY_AND_ASSIGN(Tile);
tile_manager_unittest.cc 7 #include "cc/resources/tile.h"
28 typedef std::vector<scoped_refptr<Tile> > TileVector;
97 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE {}
109 scoped_refptr<Tile> tile = tile_manager_->CreateTile(picture_pile_.get(), local
116 tile->SetPriority(ACTIVE_TREE, active_priority);
117 tile->SetPriority(PENDING_TREE, pending_priority);
118 tiles.push_back(tile);
132 Tile* tile = it->get() local
627 Tile* tile = queue.Top(); local
689 Tile* tile = queue.Top(); local
730 Tile* tile = queue.Top(); local
798 Tile* tile = queue.Top(); local
868 Tile* tile = queue.Top(); local
903 Tile* tile = queue.Top(); local
1015 Tile* tile = queue.Top(); local
    [all...]
eviction_tile_priority_queue.cc 33 const Tile* a_tile = **a_iterator;
34 const Tile* b_tile = **b_iterator;
49 // TODO(vmpstr): Remove this when TilePriority is no longer a member of Tile
111 Tile* EvictionTilePriorityQueue::Top() {
150 Tile* EvictionTilePriorityQueue::PairedPictureLayerQueue::Top(
159 Tile* tile = **next_iterator; local
162 tile) == returned_shared_tiles.end());
163 return tile;
206 const Tile* active_tile = *active_iterator
    [all...]
  /external/chromium_org/cc/test/
fake_tile_manager.h 21 bool HasBeenAssignedMemory(Tile* tile);
25 virtual void Release(Tile* tile) OVERRIDE;
27 std::vector<Tile*> tiles_for_raster;
fake_tile_manager_client.h 23 virtual void NotifyTileStateChanged(const Tile* tile) OVERRIDE {}
fake_picture_layer_tiling_client.cc 42 scoped_refptr<Tile> FakePictureLayerTilingClient::CreateTile(
46 return scoped_refptr<Tile>();
fake_picture_layer_impl.cc 8 #include "cc/resources/tile.h"
108 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
110 Tile* tile = tiles[tile_idx]; local
115 tile->SetPriority(tree, priority);
124 std::vector<Tile*> tiles = tiling->AllTilesForTesting();
126 Tile* tile = tiles[tile_idx]; local
127 tile->SetPriority(ACTIVE_TREE, TilePriority());
128 tile->SetPriority(PENDING_TREE, TilePriority())
145 Tile* tile = tiles[tile_idx]; local
    [all...]
  /external/chromium_org/cc/layers/
picture_layer_impl.h 25 class Tile;
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(
147 // Functions used by tile manager.
196 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_;
  /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...]

Completed in 252 milliseconds

1 2 3