Lines Matching refs:rect
524 // The rect is already in device space so we pass in kTopLeft so no flip is done.
536 // The rect is already in device space so we pass in kTopLeft so no flip is done.
572 SkIRect rect,
606 this->readOrTransferPixels(texResource, rect, transferBuffer, placedFootprint);
614 size_t tightRowBytes = bpp * rect.width();
623 rect.height());
631 SkIRect rect,
642 srcBox.left = rect.left();
643 srcBox.top = rect.top();
644 srcBox.right = rect.right();
645 srcBox.bottom = rect.bottom();
665 SkIRect rect,
688 success = this->uploadToTexture(d3dTex, rect, srcColorType, texels, mipLevelCount);
698 SkIRect rect,
703 // The assumption is either that we have no mipmaps, or that our rect is the entire texture
704 SkASSERT(mipLevelCount == 1 || rect == SkIRect::MakeSize(tex->dimensions()));
710 if (rect.isEmpty()) {
738 desc.Width = rect.width();
739 desc.Height = rect.height();
753 int currentWidth = rect.width();
754 int currentHeight = rect.height();
782 rect.left(),
783 rect.top());
793 SkIRect rect,
829 SkASSERT(SkIRect::MakeSize(texture->dimensions()).contains(rect));
836 desc.Width = rect.width();
837 desc.Height = rect.height();
852 rect.left(),
853 rect.top());
861 SkIRect rect,
897 desc.Width = rect.width();
898 desc.Height = rect.height();
905 this->readOrTransferPixels(texResource, rect, transferBuffer, placedFootprint);