Lines Matching defs:rect

498                             SkIRect rect,
535 rect,
542 rect,
563 SkIRect rect,
601 SkASSERT(SkIRect::MakeSize(texture->dimensions()).contains(rect));
610 region.imageOffset = { rect.left(), rect.top(), 0 };
611 region.imageExtent = { (uint32_t)rect.width(), (uint32_t)rect.height(), 1 };
636 SkIRect rect,
677 region.bufferRowLength = rect.width();
680 region.imageOffset = {rect.left(), rect.top(), 0};
681 region.imageExtent = {(uint32_t)rect.width(), (uint32_t)rect.height(), 1};
762 SkIRect rect,
769 SkASSERT(SkIRect::MakeSize(texImage->dimensions()).contains(rect));
772 size_t trimRowBytes = rect.width() * bpp;
794 VkDeviceSize offset = rect.top()*layout.rowPitch + rect.left()*bpp;
795 VkDeviceSize size = rect.height()*layout.rowPitch;
808 rect.height());
922 SkIRect rect,
931 // The assumption is either that we have no mipmaps, or that our rect is the entire texture
932 SkASSERT(mipLevelCount == 1 || rect == SkIRect::MakeSize(texImage->dimensions()));
938 SkASSERT(!rect.isEmpty());
955 rect.size(),
960 combinedBufferSize = rect.width()*rect.height()*bpp;
979 int uploadLeft = rect.left();
980 int uploadTop = rect.top();
985 int currentWidth = rect.width();
986 int currentHeight = rect.height();
1044 // For now the assumption is that our rect is the entire texture.
2346 // The rect is already in device space so we pass in kTopLeft so no flip is done.
2395 // Flip rect if necessary
2417 // The rect is already in device space so we pass in kTopLeft so no flip is done.
2431 // The rect is already in device space so we pass in kTopLeft so no flip is done.
2528 SkIRect rect,
2575 size_t tightRowBytes = bpp*rect.width();
2579 VkOffset3D offset = { rect.left(), rect.top(), 0 };
2581 region.imageExtent = { (uint32_t)rect.width(), (uint32_t)rect.height(), 1 };
2623 SkRectMemcpy(buffer, rowBytes, mappedMemory, transBufferRowBytes, tightRowBytes, rect.height());