Home | History | Annotate | Download | only in layers

Lines Matching defs:source_rect

537       // source_rect starts as a full-sized tile with border texels included.
538 gfx::Rect source_rect = tiler_->TileRect(tile);
539 source_rect.Intersect(dirty_rect);
541 // make sure that source_rect doesn't extend outside of it.
542 source_rect.Intersect(paint_rect);
544 tile->update_rect = source_rect;
546 if (source_rect.IsEmpty())
552 gfx::Vector2d dest_offset = source_rect.origin() - anchor;
557 gfx::Vector2d paint_offset = source_rect.origin() - paint_rect.origin();
560 CHECK_LE(paint_offset.x() + source_rect.width(), paint_rect.width());
561 CHECK_LE(paint_offset.y() + source_rect.height(), paint_rect.height());
564 queue, source_rect, dest_offset, tile->partial_update);
567 DidUpload(gfx::Transform(), source_rect, tile->opaque_rect());