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

1 2

  /external/webkit/Source/WebCore/platform/graphics/
Tile.h 43 class Tile : public RefCounted<Tile> {
47 static PassRefPtr<Tile> create(TiledBackingStore* backingStore, const Coordinate& tileCoordinate) { return adoptRef(new Tile(backingStore, tileCoordinate)); }
48 ~Tile();
57 const Tile::Coordinate& coordinate() const { return m_coordinate; }
63 Tile(TiledBackingStore*, const Coordinate&);
TiledBackingStore.h 28 #include "Tile.h"
87 PassRefPtr<Tile> tileAt(const Tile::Coordinate&) const;
88 void setTile(const Tile::Coordinate& coordinate, PassRefPtr<Tile> tile);
89 void removeTile(const Tile::Coordinate& coordinate);
96 IntRect tileRectForCoordinate(const Tile::Coordinate&) const;
97 Tile::Coordinate tileCoordinateForPoint(const IntPoint&) const;
98 double tileDistance(const IntRect& viewport, const Tile::Coordinate&)
    [all...]
TiledBackingStore.cpp 76 Tile::Coordinate topLeft = tileCoordinateForPoint(dirtyRect.location());
77 Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY()));
81 RefPtr<Tile> currentTile = tileAt(Tile::Coordinate(xCoordinate, yCoordinate));
99 Vector<RefPtr<Tile> > dirtyTiles;
112 // FIXME: In single threaded case, tile back buffers could be updated asynchronously
114 // blocking on tile updates.
130 // Since tile content is already scaled, first revert the scaling from the painter.
135 Tile::Coordinate topLeft = tileCoordinateForPoint(dirtyRect.location());
136 Tile::Coordinate bottomRight = tileCoordinateForPoint(IntPoint(dirtyRect.maxX(), dirtyRect.maxY()))
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
TilePainter.h 37 class Tile;
48 virtual bool blitFromContents(Tile* tile) { return false; }
Tile.cpp 26 #define LOG_TAG "Tile"
30 #include "Tile.h"
41 // If the dirty portion of a tile exceeds this ratio, fully repaint.
50 Tile::Tile(bool isLayerTile)
65 ClassTracker::instance()->increment("Tile");
69 Tile::~Tile()
77 ClassTracker::instance()->decrement("Tile");
83 void Tile::setContents(int x, int y, float scale, bool isExpandedPrefetchTile
    [all...]
TileGrid.h 38 class Tile;
61 Tile* getTile(int x, int y);
78 bool tryBlitFromContents(Tile* tile, TilePainter* painter);
80 WTF::Vector<Tile*> m_tiles;
Tile.h 47 * An individual tile that is used to construct part of a webpage's BaseLayer of
48 * content. Each tile is assigned to a TiledPage and is responsible for drawing
49 * and displaying their section of the page. The lifecycle of a tile is:
51 * 1. Each tile is created on the main GL thread and assigned to a specific
53 * 2. When needed the tile is passed to the background thread where it paints
57 * tile's drawGL() function to display the tile to the screen.
59 * 5. The tile is destroyed when the user navigates to a new page.
62 class Tile : public TextureOwner {
66 // that a tile that's continually marked dirty from animation should stil
    [all...]
BaseRenderer.h 43 class Tile;
46 // coordinates of the tile
53 // the expected size of the tile
59 // the base tile calling us
60 Tile* baseTile;
PaintTileOperation.h 29 #include "Tile.h"
41 PaintTileOperation(Tile* tile, TilePainter* painter,
55 Tile* m_tile;
Surface.h 39 class Tile;
74 virtual bool blitFromContents(Tile* tile);
TilesProfiler.h 37 class Tile;
63 void nextTile(Tile* tile, float scale, bool inView);
73 TileProfileRecord* getTile(int frame, int tile) {
74 return &m_records[frame][tile];
TilesManager.h 42 class Tile;
69 TileTexture* getAvailableTexture(Tile* owner);
156 bool tryUpdateOperationWithPainter(Tile* tile, TilePainter* painter);
TexturesGenerator.h 51 bool tryUpdateOperationWithPainter(Tile* tile, TilePainter* painter);
TileTexture.h 43 class Tile;
53 // allows consumer thread to assign ownership of the texture to the tile. It
54 // returns false if ownership cannot be transferred because the tile is busy
90 // Tile owning the texture, only modified by UI thread
93 // When the whole tile is single color, skip the transfer queue and draw
TilesManager.cpp 39 #include "Tile.h"
57 // number to cap the layer tile texturs, it worked on both phones and tablets.
208 static_cast<Tile*>(owner)->discardTextures();
256 Tile* currentOwner = static_cast<Tile*>(textures[i]->owner());
274 Tile* o = 0;
276 o = (Tile*) texture->owner();
298 TileTexture* TilesManager::getAvailableTexture(Tile* owner)
308 // Sanity check that the tile does not already own a texture
321 // 2. If a tile isn't owned, break with that on
    [all...]
TileTexture.cpp 33 #include "Tile.h"
74 // clear both Tile->Texture and Texture->Tile links
104 ALOGV("texture %p releasing tile %p, m_owner %p", this, owner, m_owner);
115 Tile* owner = static_cast<Tile*>(m_owner);
TileGrid.cpp 36 #include "Tile.h"
71 Tile* tile = m_tiles[i]; local
72 if (tile->isTileVisible(m_area)) {
74 if (!tile->isTileReady()) {
228 Tile* tile = getTile(x, y); local
229 if (!tile) {
231 tile = new Tile(isLayerTile)
271 Tile* tile = m_tiles[i]; local
295 Tile* tile = m_tiles[i]; local
337 Tile* tile = m_tiles[i]; local
    [all...]
TransferQueue.h 39 class Tile;
52 // While in the queue, the Tile can be re-used, the updated bitmap
54 // the Tile's Info to make the comparison.
55 // At the time of base tile's dtor or webview destroy, we want to discard
63 pendingBlit = 1, // Ready for bliting into tile's GL Tex.
93 Tile* savedTilePtr;
94 TilePainter* savedTilePainter; // Ref count the tilePainter to keep the tile alive.
116 // insert the bitmap into the queue, mark the tile dirty if failing
183 GLuint m_fboID; // The FBO used for copy the SurfTex to each tile
213 // The non-pure-color tile are 1 to 1 mapping with Surface Texture which i
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/qt/
TileQt.cpp 21 #include "Tile.h"
58 Tile::Tile(TiledBackingStore* backingStore, const Coordinate& tileCoordinate)
68 Tile::~Tile()
75 bool Tile::isDirty() const
80 bool Tile::isReadyToPaint() const
85 void Tile::invalidate(const IntRect& dirtyRect)
94 Vector<IntRect> Tile::updateBackBuffer()
133 void Tile::swapBackBufferToFront(
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/chromium/
LayerTilerChromium.h 67 // Reserve and upload tile textures from the internal canvas.
70 // Reserve and upload tile textures from an externally painted buffer.
78 // Change the tile size. This may invalidate all the existing tiles.
86 // If this tiler has exactly one tile, return its texture. Otherwise, null.
92 class Tile : public RefCounted<Tile> {
93 WTF_MAKE_NONCOPYABLE(Tile);
95 explicit Tile(PassOwnPtr<LayerTexture> tex) : m_tex(tex), m_i(-1), m_j(-1) {}
125 Tile* createTile(int i, int j);
133 Tile* tileAt(int, int) const
    [all...]
LayerTilerChromium.cpp 97 Tile* tile = tileAt(0, 0); local
98 return tile ? tile->texture() : 0;
108 LayerTilerChromium::Tile* LayerTilerChromium::createTile(int i, int j)
112 RefPtr<Tile> tile; local
114 tile = m_unusedTiles.last().release();
116 ASSERT(tile->refCount() == 1);
120 tile = adoptRef(new Tile(LayerTexture::create(context, manager)))
122 m_tiles.add(make_pair(i, j), tile); local
137 Tile* tile = iter->second.get(); local
178 Tile* tile = m_tiles.get(make_pair(i, j)).get(); local
213 Tile* tile = tileAt(i, j); local
251 Tile* tile = tileAt(i, j); local
306 Tile* tile = tileAt(i, j); local
394 Tile* tile = tileAt(i, j); local
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
TiledImageRenderer.java 41 * This is the tile state in the CPU side.
42 * Life of a Tile:
90 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
124 // The tile returned by this method can be specified this way: Assuming
224 // 1. Decide the tile level we want to use for display.
225 // 2. Decide the tile levels we want to keep as texture (in addition to
235 // The tile levels we want to keep as texture is in the range
243 // We want to keep one more tile level as texture in addition to what
267 // If rotation is transient, don't update the tile
279 Tile tile = mActiveTiles.valueAt(i); local
311 Tile tile = mActiveTiles.valueAt(i); local
363 Tile tile = mRecycledQueue.pop(); local
433 Tile tile = mActiveTiles.valueAt(i); local
485 Tile tile = mRecycledQueue.pop(); local
512 Tile tile = mActiveTiles.get(key); local
536 Tile tile = null; local
562 Tile tile = getTile(tx, ty, level); local
697 Tile tile = mHead; local
728 Tile tile = mDecodeQueue.pop(); local
741 Tile tile = waitForTile(); local
    [all...]
  /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;
154 private static void freeTile(Tile tile) {
155 tile.invalidateContent();
156 tile.bitmap = null;
158 tile.nextFreeTile = sFreeTileHead
202 Tile tile = obtainTile(); 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...]
  /external/chromium/chrome/browser/ui/cocoa/
tabpose_window.h 19 class Tile;
54 // The layer drawn behind the currently selected tile.

Completed in 382 milliseconds

1 2