Home
last modified time | relevance | path

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

12345

/external/replicaisland/tools/
DExtractPoints.js66 var tile = new Object; variable
67 tile.edges = new Array();
111 tile.edges.push(edge);
116 tile.centerX = totalX;
117 tile.centerY = totalY;
119 var column = Math.floor(tile.centerX / tileSizeX);
120 var row = Math.floor(tile.centerY / tileSizeY);
122 tile.xOffset = column * tileSizeX;
123 tile.yOffset = row * tileSizeY;
125 tile.centerX -= tile.xOffset;
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DTileGrid.cpp71 Tile* tile = m_tiles[i]; in isReady() local
72 if (tile->isTileVisible(m_area)) { in isReady()
74 if (!tile->isTileReady()) { in isReady()
228 Tile* tile = getTile(x, y); in prepareTile() local
229 if (!tile) { in prepareTile()
231 tile = new Tile(isLayerTile); in prepareTile()
232 m_tiles.append(tile); in prepareTile()
235 ALOGV("preparing tile %p at %d, %d, painter is %p", tile, x, y, painter); in prepareTile()
237 tile->setContents(x, y, m_scale, isExpandPrefetch); in prepareTile()
239 if (shouldTryUpdateWithBlit && tryBlitFromContents(tile, painter)) in prepareTile()
[all …]
DSurface.cpp417 bool Surface::blitFromContents(Tile* tile) in blitFromContents() argument
419 if (!singleLayer() || !tile || !getFirstLayer() || !getFirstLayer()->content()) in blitFromContents()
422 if (tile->frontTexture() != tile->lastDrawnTexture()) { in blitFromContents()
428 tile->frontTexture()->drawGL(false, rect, 1.0f, 0, false, true, fillPortion); in blitFromContents()
433 IntRect dirtyRect = tile->dirtyArea().getBounds(); in blitFromContents()
434 IntRect tileRect = IntRect(tile->x() * TilesManager::tileWidth(), in blitFromContents()
435 tile->y() * TilesManager::tileHeight(), in blitFromContents()
439 tileRectInDoc.scale(1 / tile->scale()); in blitFromContents()
448 screenDirty.scale(tile->scale()); in blitFromContents()
477 GLUtils::updateTextureWithBitmap(tile->frontTexture()->m_ownTextureId, in blitFromContents()
[all …]
DTilesProfiler.cpp96 void TilesProfiler::nextTile(Tile* tile, float scale, bool inView) in nextTile() argument
101 bool isReady = tile->isTileReady(); in nextTile()
102 int left = tile->x() * TilesManager::tileWidth(); in nextTile()
103 int top = tile->y() * TilesManager::tileWidth(); in nextTile()
115 scale, isReady, (int)tile->drawCount())); in nextTile()
DTilesProfiler.h63 void nextTile(Tile* tile, float scale, bool inView);
73 TileProfileRecord* getTile(int frame, int tile) { in getTile() argument
74 return &m_records[frame][tile]; in getTile()
DTransferQueue.cpp399 Tile* tile = renderInfo->baseTile; in updateQueueWithBitmap() local
400 if (tile) in updateQueueWithBitmap()
401 tile->backTextureTransferFail(); in updateQueueWithBitmap()
538 Tile* tile = m_transferQueue[index].savedTilePtr; in cleanupPendingDiscard() local
540 if (tile && texture && texture->owner() == tile) { in cleanupPendingDiscard()
543 tile->discardBackTexture(); in cleanupPendingDiscard()
544 ALOGV("transfer queue discarded tile %p, removed texture", tile); in cleanupPendingDiscard()
DTexturesGenerator.cpp56 bool TexturesGenerator::tryUpdateOperationWithPainter(Tile* tile, TilePainter* painter) in tryUpdateOperationWithPainter() argument
59 if (!mRequestedOperationsHash.contains(tile)) in tryUpdateOperationWithPainter()
62 static_cast<PaintTileOperation*>(mRequestedOperationsHash.get(tile))->updatePainter(painter); in tryUpdateOperationWithPainter()
DPaintTileOperation.cpp43 PaintTileOperation::PaintTileOperation(Tile* tile, TilePainter* painter, in PaintTileOperation() argument
45 : m_tile(tile) in PaintTileOperation()
/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/skia/src/core/
DSkTileGrid.h62 SkTDArray<void*>& tile(int x, int y);
95 for (int tile = 0; tile < tileCount; ++tile) { in SkTileGridNextDatum() local
96 int pos = tileIndices[tile]; in SkTileGridNextDatum()
98 T* candidate = (T*)(*tileData[tile])[pos]; in SkTileGridNextDatum()
107 for (int tile = 0; tile < tileCount; ++tile) { in SkTileGridNextDatum() local
108 int pos = tileIndices[tile]; in SkTileGridNextDatum()
109 if (pos != SkTileGrid::kTileFinished && (*tileData[tile])[pos] == minVal) { in SkTileGridNextDatum()
110 if (++(tileIndices[tile]) >= tileData[tile]->count()) { in SkTileGridNextDatum()
111 tileIndices[tile] = SkTileGrid::kTileFinished; in SkTileGridNextDatum()
DSkTileGrid.cpp28 SkTDArray<void *>& SkTileGrid::tile(int x, int y) { in tile() function in SkTileGrid
48 this->tile(x, y).push(data); in insert()
71 *results = this->tile(tileStartX, tileStartY); in search()
82 int tile = 0; in search() local
85 tileRange[tile] = &this->tile(x, y); in search()
86 curPositions[tile] = tileRange[tile]->count() ? 0 : kTileFinished; in search()
87 ++tile; in search()
/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()
/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/skia/tests/
DTileGridTest.cpp45 REPORTER_ASSERT(reporter, grid.tile(0,0).count() == in verifyTileHits()
47 REPORTER_ASSERT(reporter, grid.tile(1,0).count() == in verifyTileHits()
49 REPORTER_ASSERT(reporter, grid.tile(0,1).count() == in verifyTileHits()
51 REPORTER_ASSERT(reporter, grid.tile(1,1).count() == in verifyTileHits()
/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()

12345