Home
last modified time | relevance | path

Searched refs:tile (Results 1 – 25 of 71) sorted by relevance

123

/external/webkit/Source/WebCore/platform/graphics/android/
DTiledTexture.cpp61 BaseTile* tile = m_tiles[i]; in ready() local
62 if (tile->isTileVisible(m_area) && !tile->isTileReady()) { in ready()
66 if (tile->isTileVisible(m_area)) in ready()
135 BaseTile* tile = m_tiles[i]; in prepare() local
137 tile->swapTexturesIfNeeded(); in prepare()
182 BaseTile* tile = getTile(x, y); in prepareTile() local
183 if (!tile) { in prepareTile()
184 tile = new BaseTile(true); in prepareTile()
185 m_tiles.append(tile); in prepareTile()
188 XLOG("preparing tile %p, painter is this %p", tile, this); in prepareTile()
[all …]
DTiledPage.cpp108 BaseTile& tile = m_baseTiles[j]; in getBaseTile() local
109 if (tile.x() == x && tile.y() == y) in getBaseTile()
110 return &tile; in getBaseTile()
118 BaseTile& tile = m_baseTiles[j]; in discardTextures() local
119 tile.discardTextures(); in discardTextures()
159 BaseTile& tile = m_baseTiles[j]; in prepareRow() local
160 if (tile.x() == x && tile.y() == y) { in prepareRow()
161 currentTile = &tile; in prepareRow()
165 if (!availableTile || (tile.drawCount() < availableTile->drawCount())) in prepareRow()
166 availableTile = &tile; in prepareRow()
[all …]
DTilesProfiler.cpp106 void TilesProfiler::nextTile(BaseTile& tile, float scale, bool inView) in nextTile() argument
111 bool isReady = tile.isTileReady(); in nextTile()
112 int left = tile.x() * TilesManager::tileWidth(); in nextTile()
113 int top = tile.y() * TilesManager::tileWidth(); in nextTile()
125 scale, isReady, (int)tile.drawCount())); in nextTile()
DTilesProfiler.h61 void nextTile(BaseTile& tile, float scale, bool inView);
71 TileProfileRecord* getTile(int frame, int tile) { in getTile() argument
72 return &m_records[frame][tile]; in getTile()
DPaintTileOperation.cpp33 PaintTileOperation::PaintTileOperation(BaseTile* tile, PaintedSurface* surface) in PaintTileOperation() argument
34 : QueuedOperation(QueuedOperation::PaintTile, tile->page()) in PaintTileOperation()
35 , m_tile(tile) in PaintTileOperation()
DTransferQueue.cpp363 BaseTile* tile = renderInfo->baseTile; in updateQueueWithBitmap() local
364 if (tile) in updateQueueWithBitmap()
365 tile->backTextureTransferFail(); in updateQueueWithBitmap()
496 BaseTile* tile = m_transferQueue[index].savedBaseTilePtr; in cleanupTransportQueue() local
498 if (tile && texture && texture->owner() == tile) { in cleanupTransportQueue()
501 tile->discardBackTexture(); in cleanupTransportQueue()
502 XLOG("transfer queue discarded tile %p, removed texture", tile); in cleanupTransportQueue()
DTiledTexture.h82 bool paint(BaseTile* tile, SkCanvas*, unsigned int*);
92 bool tileIsVisible(BaseTile* tile);
DTilePainter.h40 virtual bool paint(BaseTile* tile, SkCanvas*, unsigned int*) = 0;
DUpdateManager.h55 bool paint(BaseTile* tile, SkCanvas* canvas, unsigned int* pictureUsed);
/external/webkit/Source/WebCore/platform/graphics/chromium/
DLayerTilerChromium.cpp97 Tile* tile = tileAt(0, 0); in getSingleTexture() local
98 return tile ? tile->texture() : 0; in getSingleTexture()
112 RefPtr<Tile> tile; in createTile() local
114 tile = m_unusedTiles.last().release(); in createTile()
116 ASSERT(tile->refCount() == 1); in createTile()
120 tile = adoptRef(new Tile(LayerTexture::create(context, manager))); in createTile()
122 m_tiles.add(make_pair(i, j), tile); in createTile()
124 tile->moveTo(i, j); in createTile()
125 tile->m_dirtyLayerRect = tileLayerRect(tile.get()); in createTile()
127 return tile.get(); in createTile()
[all …]
/external/webkit/Source/WebCore/platform/graphics/gpu/
DTilingData.h57 int tileXIndex(int tile) const { assertTile(tile); return tile % numTilesX(); } in tileXIndex() argument
58 int tileYIndex(int tile) const { assertTile(tile); return tile / numTilesX(); } in tileYIndex() argument
62 IntRect tileBounds(int tile) const;
63 IntRect tileBoundsWithBorder(int tile) const;
64 FloatRect tileBoundsNormalized(int tile) const;
74 …void intersectDrawQuad(const FloatRect& srcRect, const FloatRect& dstRect, int tile, FloatRect* ne…
81 void assertTile(int tile) const { ASSERT(tile >= 0 && tile < numTiles()); } in assertTile() argument
DTilingData.cpp88 IntRect TilingData::tileBounds(int tile) const in tileBounds()
90 assertTile(tile); in tileBounds()
91 int ix = tileXIndex(tile); in tileBounds()
92 int iy = tileYIndex(tile); in tileBounds()
102 IntRect TilingData::tileBoundsWithBorder(int tile) const in tileBoundsWithBorder()
104 IntRect bounds = tileBounds(tile); in tileBoundsWithBorder()
112 if (tileXIndex(tile) > 0) in tileBoundsWithBorder()
114 if (tileXIndex(tile) < (numTilesX() - 1)) in tileBoundsWithBorder()
116 if (tileYIndex(tile) > 0) in tileBoundsWithBorder()
118 if (tileYIndex(tile) < (numTilesY() - 1)) in tileBoundsWithBorder()
[all …]
DTexture.cpp171 for (int tile = 0; tile < m_tiles.numTiles(); tile++) { in updateSubRect() local
173 IntRect tileBoundsWithBorder = m_tiles.tileBoundsWithBorder(tile); in updateSubRect()
196 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_tileTextureIds->at(tile)); in updateSubRect()
205 void Texture::bindTile(int tile) in bindTile() argument
207 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_tileTextureIds->at(tile)); in bindTile()
DTexture.h51 void bindTile(int tile);
/external/webkit/Source/WebKit2/UIProcess/
DTiledDrawingAreaProxy.cpp135 TiledDrawingAreaTile* tile = m_tilesByID.get(tileID); in didReceiveMessage() local
136 ASSERT(!tile || tile->ID() == tileID); in didReceiveMessage()
137 if (tile) in didReceiveMessage()
138 tile->updateFromChunk(&updateChunk, scale); in didReceiveMessage()
192 TiledDrawingAreaTile* tile = m_tilesByID.get(tileID); in waitUntilUpdatesComplete() local
193 ASSERT(!tile || tile->ID() == tileID); in waitUntilUpdatesComplete()
194 if (tile) in waitUntilUpdatesComplete()
195 tile->updateFromChunk(&updateChunk, scale); in waitUntilUpdatesComplete()
202 RefPtr<TiledDrawingAreaTile> tile = TiledDrawingAreaTile::create(this, coordinate); in createTile() local
203 setTile(coordinate, tile); in createTile()
[all …]
/external/webkit/Source/WebKit/efl/ewk/
Dewk_tiled_backing_store.c56 Ewk_Tile *tile; member
86 } tile; member
207 if (it->tile) in _ewk_tiled_backing_store_item_move()
208 evas_object_move(it->tile->image, x, y); in _ewk_tiled_backing_store_item_move()
216 if (it->tile) { in _ewk_tiled_backing_store_item_resize()
217 evas_object_resize(it->tile->image, w, h); in _ewk_tiled_backing_store_item_resize()
218 evas_object_image_fill_set(it->tile->image, 0, 0, w, h); in _ewk_tiled_backing_store_item_resize()
224 if (it->tile) in _ewk_tiled_backing_store_tile_associate()
225 CRITICAL("it->tile=%p, but it should be NULL!", it->tile); in _ewk_tiled_backing_store_tile_associate()
226 it->tile = t; in _ewk_tiled_backing_store_tile_associate()
[all …]
Dewk_tiled_model.c486 Ewk_Tile *tile; member
597 itr->tile_free.cb(itr->tile_free.data, itr->tile); in ewk_tile_unused_cache_clear()
704 Ewk_Tile *t = itr->tile; in ewk_tile_unused_cache_flush()
715 done += sizeof(Ewk_Tile) + itr->tile->bytes; in ewk_tile_unused_cache_flush()
716 itr->tile_free.cb(itr->tile_free.data, itr->tile); in ewk_tile_unused_cache_flush()
814 if (entry->tile == t) { in ewk_tile_unused_cache_tile_get()
873 e->tile = t; in ewk_tile_unused_cache_tile_put()
895 const Ewk_Tile *t = itr->tile; in ewk_tile_unused_cache_dbg()
/external/chromium/chrome/browser/resources/ntp4/
Dtile_page.css6 .tile-page {
12 .tile-page-title {
19 .tile-grid {
25 .tile {
38 .resizing-tile-page .tile {
Dmost_visited_page.js246 var tile = this.mostVisitedTiles_[i];
249 tile.reset();
251 tile.updateForData(page);
/external/webkit/Source/WebCore/platform/graphics/skia/
DGradientSkia.cpp132 SkShader::TileMode tile = SkShader::kClamp_TileMode; in platformGradient() local
135 tile = SkShader::kMirror_TileMode; in platformGradient()
138 tile = SkShader::kRepeat_TileMode; in platformGradient()
141 tile = SkShader::kClamp_TileMode; in platformGradient()
153 …ent = SkGradientShader::CreateRadial(m_p1, radius, colors, pos, static_cast<int>(countUsed), tile); in platformGradient()
159 …CreateTwoPointRadial(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile); in platformGradient()
172 … m_gradient = SkGradientShader::CreateLinear(pts, colors, pos, static_cast<int>(countUsed), tile); in platformGradient()
/external/webkit/Source/WebCore/platform/graphics/win/
DWebTiledLayer.cpp256 …CACFLayerRef tile = static_cast<CACFLayerRef>(const_cast<void*>(CFArrayGetValueAtIndex(tileArray, … in updateTiles() local
257 CACFLayerSetPosition(tile, CGPointMake(i * m_tileSize.width, j * m_tileSize.height)); in updateTiles()
260 … CACFLayerSetBounds(tile, CGRectMake(i * m_tileSize.width, j * m_tileSize.height, width, height)); in updateTiles()
265 CACFLayerSetTransform(tile, transform); in updateTiles()
269 CACFLayerSetName(tile, RetainPtr<CFStringRef>(AdoptCF, name.createCFString()).get()); in updateTiles()
275 void WebTiledLayer::drawTile(CACFLayerRef tile, CGContextRef context) in drawTile() argument
277 CGPoint tilePosition = CACFLayerGetPosition(tile); in drawTile()
278 CGRect tileBounds = CACFLayerGetBounds(tile); in drawTile()
/external/chromium/chrome/browser/ui/cocoa/
Dtabpose_window.mm427 // A tile is what is shown for a single tab in tabpose mode. It consists of a
434 // animation. |tile| is the rectangle that's covering the whole tab area when
436 NSRect GetStartRectRelativeTo(const Tile& tile) const;
439 NSRect GetFaviconStartRectRelativeTo(const Tile& tile) const;
454 NSRect GetTitleStartRectRelativeTo(const Tile& tile) const;
485 NSRect Tile::GetStartRectRelativeTo(const Tile& tile) const {
487 rect.origin.x -= tile.start_thumb_rect_.origin.x;
488 rect.origin.y -= tile.start_thumb_rect_.origin.y;
492 NSRect Tile::GetFaviconStartRectRelativeTo(const Tile& tile) const {
493 NSRect thumb_start = GetStartRectRelativeTo(tile);
[all …]
/external/webkit/Source/WebCore/platform/graphics/ca/win/
DPlatformCALayerWinInternal.cpp441 …CACFLayerRef tile = static_cast<CACFLayerRef>(const_cast<void*>(CFArrayGetValueAtIndex(tileArray, … in updateTiles() local
442 CACFLayerSetPosition(tile, CGPointMake(i * m_tileSize.width, j * m_tileSize.height)); in updateTiles()
445 … CACFLayerSetBounds(tile, CGRectMake(i * m_tileSize.width, j * m_tileSize.height, width, height)); in updateTiles()
450 CACFLayerSetTransform(tile, transform); in updateTiles()
454 CACFLayerSetName(tile, RetainPtr<CFStringRef>(AdoptCF, name.createCFString()).get()); in updateTiles()
460 void PlatformCALayerWinInternal::drawTile(CACFLayerRef tile, CGContextRef context) in drawTile() argument
462 CGPoint tilePosition = CACFLayerGetPosition(tile); in drawTile()
463 CGRect tileBounds = CACFLayerGetBounds(tile); in drawTile()
/external/webkit/Source/WebCore/platform/graphics/openvg/
DPainterOpenVG.cpp1082 FloatRect tile(tiledImage->tileRect(xIndex, yIndex)); in drawImage() local
1083 FloatRect srcTile = intersection(src, tile); in drawImage()
1089 … concatTransformation(AffineTransform(srcToDstTransformation).translate(tile.x(), tile.y())); in drawImage()
1092 if (srcTile != tile) { in drawImage()
1095 srcTile.move(-tile.x(), -tile.y()); in drawImage()
1099 VGImage image = tiledImage->tile(xIndex, yIndex); in drawImage()
1194 vgGetPixels(tiledImage->tile(xIndex, yIndex), 0, 0, in asNewNativeImage()
DTiledImageOpenVG.h52 VGImage tile(int xIndex, int yIndex) const;

123