Home | History | Annotate | Download | only in layers

Lines Matching refs:source_rect

497       // source_rect starts as a full-sized tile with border texels included.
498 gfx::Rect source_rect = tiler_->TileRect(tile);
499 source_rect.Intersect(dirty_rect);
501 // make sure that source_rect doesn't extend outside of it.
502 source_rect.Intersect(paint_rect);
504 tile->update_rect = source_rect;
506 if (source_rect.IsEmpty())
512 gfx::Vector2d dest_offset = source_rect.origin() - anchor;
517 gfx::Vector2d paint_offset = source_rect.origin() - paint_rect.origin();
520 CHECK_LE(paint_offset.x() + source_rect.width(), paint_rect.width());
521 CHECK_LE(paint_offset.y() + source_rect.height(), paint_rect.height());
524 queue, source_rect, dest_offset, tile->partial_update);