Searched defs:tile (Results 1 - 25 of 26) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DTilePainter.h48 virtual bool blitFromContents(Tile* tile) { return false; } argument
H A DPaintTileOperation.cpp43 PaintTileOperation::PaintTileOperation(Tile* tile, TilePainter* painter, argument
45 : m_tile(tile)
H A DTexturesGenerator.cpp56 bool TexturesGenerator::tryUpdateOperationWithPainter(Tile* tile, TilePainter* painter) argument
59 if (!mRequestedOperationsHash.contains(tile))
62 static_cast<PaintTileOperation*>(mRequestedOperationsHash.get(tile))->updatePainter(painter);
H A DTilesProfiler.cpp62 ALOGV("completed tile profiling, observed %d frames", m_records.size());
68 ALOGV("clearing tile profiling of its %d frames", m_records.size());
83 ALOGD("completed tile profiling frame, observed %d tiles. %f ms since last",
96 void TilesProfiler::nextTile(Tile* tile, float scale, bool inView) argument
101 bool isReady = tile->isTileReady();
102 int left = tile->x() * TilesManager::tileWidth();
103 int top = tile->y() * TilesManager::tileWidth();
115 scale, isReady, (int)tile->drawCount()));
116 ALOGV("adding tile %d %d %d %d, scale %f", left, top, right, bottom, scale);
H A DTilesProfiler.h63 void nextTile(Tile* tile, float scale, bool inView);
73 TileProfileRecord* getTile(int frame, int tile) { argument
74 return &m_records[frame][tile];
H A DSurface.cpp417 bool Surface::blitFromContents(Tile* tile) argument
419 if (!singleLayer() || !tile || !getFirstLayer() || !getFirstLayer()->content())
422 if (tile->frontTexture() != tile->lastDrawnTexture()) {
428 tile->frontTexture()->drawGL(false, rect, 1.0f, 0, false, true, fillPortion);
432 // to this tile
433 IntRect dirtyRect = tile->dirtyArea().getBounds();
434 IntRect tileRect = IntRect(tile->x() * TilesManager::tileWidth(),
435 tile->y() * TilesManager::tileHeight(),
439 tileRectInDoc.scale(1 / tile
[all...]
H A DTileGrid.cpp71 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);
232 m_tiles.append(tile);
235 ALOGV("preparing tile %p at %d, %d, painter is %p", tile, x, y, painter);
237 tile
259 tryBlitFromContents(Tile* tile, TilePainter* painter) argument
271 Tile* tile = m_tiles[i]; local
295 Tile* tile = m_tiles[i]; local
337 Tile* tile = m_tiles[i]; local
[all...]
H A DTilesManager.cpp57 // number to cap the layer tile texturs, it worked on both phones and tablets.
308 // Sanity check that the tile does not already own a texture
321 // 2. If a tile isn't owned, break with that one
323 // 4. Otherwise, use the least recently prepared tile, but ignoring tiles
339 // Don't let a tile acquire its own front texture, as the
357 ALOGV("%s texture %p stolen from tile %d, %d for %d, %d, drawCount was %llu (now %llu)",
369 // couldn't find a tile for a layer, layers shouldn't request redraw
376 ALOGV("Couldn't find an available texture for %s tile %x (%d, %d) out of %d available",
513 bool TilesManager::tryUpdateOperationWithPainter(Tile* tile, TilePainter* painter) argument
516 if (m_textureGenerators[i]->tryUpdateOperationWithPainter(tile, painte
[all...]
H A DTransferQueue.cpp147 ALOGV("Invalid savedTilePtr , such that the tile is obsolete");
153 ALOGV("Invalid baseTileTexture %p (vs expected %p), such that the tile is obsolete",
326 // Check the pure color tile first, since it is simpler.
376 ALOGV("Blit tile x, y %d %d with dest texture %p to destTexture->m_ownTextureId %d",
401 // failed placing bitmap in queue, discard tile's texture so it will be
403 Tile* tile = renderInfo->baseTile; local
404 if (tile)
405 tile->backTextureTransferFail();
420 ALOGV("Quit bitmap update: not ready! for tile x y %d %d",
489 ALOGV("ERROR update a tile whic
542 Tile* tile = m_transferQueue[index].savedTilePtr; local
[all...]
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DTexture.cpp171 for (int tile = 0; tile < m_tiles.numTiles(); tile++) {
172 // Intersect with tile
173 IntRect tileBoundsWithBorder = m_tiles.tileBoundsWithBorder(tile);
196 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_tileTextureIds->at(tile));
205 void Texture::bindTile(int tile) argument
207 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_tileTextureIds->at(tile));
H A DTilingData.cpp88 IntRect TilingData::tileBounds(int tile) const
90 assertTile(tile);
91 int ix = tileXIndex(tile);
92 int iy = tileYIndex(tile);
102 IntRect TilingData::tileBoundsWithBorder(int tile) const
104 IntRect bounds = tileBounds(tile);
112 if (tileXIndex(tile) > 0)
114 if (tileXIndex(tile) < (numTilesX() - 1))
116 if (tileYIndex(tile) > 0)
118 if (tileYIndex(tile) < (numTiles
205 intersectDrawQuad(const FloatRect& srcRect, const FloatRect& dstRect, int tile, FloatRect* newSrc, FloatRect* newDst) const argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGradientSkia.cpp132 SkShader::TileMode tile = SkShader::kClamp_TileMode; local
135 tile = SkShader::kMirror_TileMode;
138 tile = SkShader::kRepeat_TileMode;
141 tile = SkShader::kClamp_TileMode;
153 m_gradient = SkGradientShader::CreateRadial(m_p1, radius, colors, pos, static_cast<int>(countUsed), tile);
159 m_gradient = SkGradientShader::CreateTwoPointRadial(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile);
172 m_gradient = SkGradientShader::CreateLinear(pts, colors, pos, static_cast<int>(countUsed), tile);
/external/webkit/Source/WebCore/platform/graphics/cairo/
H A DContextShadowCairo.cpp150 static inline FloatPoint getPhase(const FloatRect& dest, const FloatRect& tile) argument
153 phase.move(-tile.x(), -tile.y());
H A DGraphicsContextCairo.cpp1117 static inline FloatPoint getPhase(const FloatRect& dest, const FloatRect& tile) argument
1120 phase.move(-tile.x(), -tile.y());
/external/webkit/Source/WebCore/platform/graphics/win/
H A DWebTiledLayer.cpp47 // Make sure there is a tile parent and it is the same as we remember
53 // Make sure the tile parent doesn't have user data. If it does, it is probably
123 // Subtract 1 to account for the tile parent layer
129 // Restore the tile parent after removal
136 // Preserve the tile parent after set
143 // Add 1 to account for the tile parent layer
149 // Add 1 to account for the tile parent layer
157 // Add 1 to account for the tile parent layer (but be safe about it)
256 CACFLayerRef tile = static_cast<CACFLayerRef>(const_cast<void*>(CFArrayGetValueAtIndex(tileArray, i * numTilesVertical + j))); local
257 CACFLayerSetPosition(tile, CGPointMak
275 drawTile(CACFLayerRef tile, CGContextRef context) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DTiledBackingStore.cpp112 // 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.
227 // Search for the tile position closest to the viewport center that does not yet contain a tile.
252 // Now construct the tile(s)
309 void TiledBackingStore::setTile(const Tile::Coordinate& coordinate, PassRefPtr<Tile> tile) argument
311 m_tiles.set(coordinate, tile);
/external/webkit/Source/WebCore/platform/graphics/ca/win/
H A DPlatformCALayerWinInternal.cpp40 // The width and height of a single tile in a tiled layer. Should be large enough to
42 // to keep the overall tile cost low.
209 // Preserve the tile parent after set
226 // Exclude the tile parent layer.
241 // Restore the tile parent after removal
250 // Add 1 to account for the tile parent layer
265 // Subtract 1 to account for the tile parent layer
303 // Add 1 to account for the tile parent layer
441 CACFLayerRef tile = static_cast<CACFLayerRef>(const_cast<void*>(CFArrayGetValueAtIndex(tileArray, i * numTilesVertical + j))); local
442 CACFLayerSetPosition(tile, CGPointMak
460 drawTile(CACFLayerRef tile, CGContextRef context) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DLayerTilerChromium.cpp97 Tile* tile = tileAt(0, 0); local
98 return tile ? tile->texture() : 0;
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
124 tile->moveTo(i, j);
125 tile
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...]
H A DGLES2Canvas.cpp430 void GLES2Canvas::drawTexturedRectTile(Texture* texture, int tile, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform& transform, float alpha) argument
437 texture->bindTile(tile);
441 tiles.intersectDrawQuad(srcRect, dstRect, tile, &srcRectClippedInTileSpace, &dstRectIntersected);
443 IntRect tileBoundsWithBorder = tiles.tileBoundsWithBorder(tile);
/external/replicaisland/src/com/replica/replicaisland/
H A DCollisionSystem.java38 * of each tile visited with the ray and searches for points of intersection.
85 /* Sets the current collision world to the supplied tile world. */
274 * @param visitor Class defining what work to perform at each tile step.
275 * @return The index of the tile that intersected the ray, or -1 if no intersection was found.
319 * this algorithm traces a line in tile space and tests against each non-empty tile it visits.
321 * tile is defined by the visitor class passed to this function.
327 * @param visitor Class defining what work to perform at each tile step.
328 * @return The index of the tile that intersected the ray, or -1 if no intersection was found.
359 // tile t
600 visit(CollisionTile tile, Vector2 startPoint, Vector2 endPoint, Vector2 hitPoint, Vector2 hitNormal, int tileX, int tileY) argument
647 visit(CollisionTile tile, Vector2 startPoint, Vector2 endPoint, Vector2 hitPoint, Vector2 hitNormal, int tileX, int tileY) argument
[all...]
/external/webkit/Source/WebKit/efl/ewk/
H A Dewk_tiled_model.c227 * Create a new tile of given size, zoom level and colorspace.
230 * characteristic of the tile and any change will lead to invalid
331 * Free tile memory.
347 * Make the tile visible, incrementing its counter.
366 * Returns EINA_TRUE if the tile is visible, EINA_FALSE otherwise.
374 * Mark whole tile as dirty and requiring update.
424 * This will not change the tile statistics or clear the processed
464 * This will change the tile statistics, specially zero stat.misses
486 Ewk_Tile *tile; member in struct:_Ewk_Tile_Unused_Cache_Entry
597 itr->tile_free.cb(itr->tile_free.data, itr->tile);
[all...]
H A Dewk_tiled_backing_store.c56 Ewk_Tile *tile; member in struct:_Ewk_Tiled_Backing_Store_Item
86 } tile; member in struct:_Ewk_Tiled_Backing_Store_Data::__anon14805
174 DBG("flush unused tile cache.");
207 if (it->tile)
208 evas_object_move(it->tile->image, x, y);
216 if (it->tile) {
217 evas_object_resize(it->tile->image, w, h);
218 evas_object_image_fill_set(it->tile->image, 0, 0, w, h);
224 if (it->tile)
225 CRITICAL("it->tile
[all...]
/external/webkit/Source/WebKit2/UIProcess/
H A DTiledDrawingAreaProxy.cpp135 TiledDrawingAreaTile* tile = m_tilesByID.get(tileID);
136 ASSERT(!tile || tile->ID() == tileID);
137 if (tile)
138 tile->updateFromChunk(&updateChunk, scale);
192 TiledDrawingAreaTile* tile = m_tilesByID.get(tileID); local
193 ASSERT(!tile || tile->ID() == tileID);
194 if (tile)
195 tile
202 RefPtr<TiledDrawingAreaTile> tile = TiledDrawingAreaTile::create(this, coordinate); local
303 TiledDrawingAreaTile* tile = tilesToFlip[n]; local
444 RefPtr<TiledDrawingAreaTile> tile = tileAt(currentCoordinate); local
527 setTile(const TiledDrawingAreaTile::Coordinate& coordinate, RefPtr<TiledDrawingAreaTile> tile) argument
535 RefPtr<TiledDrawingAreaTile> tile = m_tiles.take(coordinate); local
[all...]
/external/webp/src/dsp/
H A Dlossless.c361 int tile[4][256]) {
368 retval += PredictionCostSpatial(&tile[i][0], 1, exp_val);
369 retval += ShannonEntropy(&tile[i][0], 256);
371 combo[k] = accumulated[i][k] + tile[i][k];
561 if ((x & mask) == 0) { // start of tile. Read predictor function.
360 PredictionCostSpatialHistogram(int accumulated[4][256], int tile[4][256]) argument
/external/webkit/Source/WebKit/android/nav/
H A DWebView.cpp1086 static int nativeTileProfilingGetInt(JNIEnv *env, jobject obj, int frame, int tile, jstring jkey) argument
1089 TileProfileRecord* record = TilesManager::instance()->getProfiler()->getTile(frame, tile);
1106 static float nativeTileProfilingGetFloat(JNIEnv *env, jobject obj, int frame, int tile, jstring jkey) argument
1108 TileProfileRecord* record = TilesManager::instance()->getProfiler()->getTile(frame, tile);

Completed in 1893 milliseconds

12