Home | History | Annotate | Download | only in rendering

Lines Matching defs:Tile

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)
102 void Tile::reserveTexture()
108 ALOGV("tile %p reserving texture %p, back was %p (front %p)",
115 ALOGV("moving tile %p to unpainted, since it reserved while up to date", this);
121 bool Tile::removeTexture(TileTexture* texture)
147 void Tile::markAsDirty()
154 void Tile::markAsDirty(const SkRegion& dirtyArea)
182 void Tile::markAsDirtyInternal()
188 // We only mark a tile as unpainted in 'markAsDirty' if its status is
195 ALOGV("Warning: tried to mark tile %p at %d, %d islayertile %d as dirty, state %d",
204 bool Tile::isDirty()
210 bool Tile::isRepaintPending()
216 void Tile::setRepaintPending(bool pending)
222 bool Tile::drawGL(float opacity, const SkRect& rect, float scale,
237 ALOGV("drawing tile %p (%d, %d with fill portions %f %f->%f, %f",
247 bool Tile::isTileReady()
249 // Return true if the tile's most recently drawn texture is up to date
268 bool Tile::intersectWithRect(int x, int y, int tileWidth, int tileHeight,
288 bool Tile::isTileVisible(const IntRect& viewTileBounds)
297 void Tile::paintBitmap(TilePainter* painter, BaseRenderer* renderer)
315 ALOGV("Warning: started painting tile %p, but was at state %d, ft %p bt %p",
323 // transferred to another Tile under us)
358 ALOGV("painted tile %p (%d, %d), texture %p, dirty=%d", this, x, y, texture, m_dirty);
362 ALOGV("tile %p no longer owns texture %p, m_state %d. ft %p bt %p",
369 void Tile::discardTextures() {
388 void Tile::discardBackTexture() {
398 bool Tile::swapTexturesIfNeeded() {
416 void Tile::backTextureTransfer() {
423 // shouldn't have transferred a tile in any other state, log
424 ALOGV("Note: transferred tile %p at %d %d, state wasn't paintingstarted or validated: %d",
429 void Tile::backTextureTransferFail() {
438 void Tile::onBlitUpdate()
444 m_state = Tile::UpToDate;
447 void Tile::validatePaint() {
451 // since after the paint, the tile isn't dirty, 'validate' it - this
462 ALOGV("Note: validated tile %p at %d %d, state wasn't paintingstarted or transferred %d",