Lines Matching refs:srcRect
33 void GrDawnGpuTextureCommandBuffer::copy(GrSurface* src, const SkIRect& srcRect, in copy() argument
38 uint32_t width = srcRect.width(), height = srcRect.height(); in copy()
39 size_t rowBytes = srcRect.width() * GrBytesPerPixel(src->config()); in copy()
51 srcTextureView.origin = {(uint32_t) srcRect.x(), (uint32_t) srcRect.y(), 0}; in copy()
66 void GrDawnGpuTextureCommandBuffer::transferFrom(const SkIRect& srcRect, in transferFrom() argument
71 fGpu->transferPixelsFrom(fTexture, srcRect.fLeft, srcRect.fTop, srcRect.width(), in transferFrom()
72 srcRect.height(), surfaceColorType, bufferColorType, transferBuffer, in transferFrom()
172 void GrDawnGpuRTCommandBuffer::transferFrom(const SkIRect& srcRect, GrColorType surfaceColorType, in transferFrom() argument
175 fGpu->transferPixelsFrom(fRenderTarget, srcRect.fLeft, srcRect.fTop, srcRect.width(), in transferFrom()
176 srcRect.height(), surfaceColorType, bufferColorType, transferBuffer, in transferFrom()
197 void GrDawnGpuRTCommandBuffer::copy(GrSurface* src, const SkIRect& srcRect, in copy() argument
209 uint32_t x = srcRect.x(); in copy()
210 uint32_t y = srcRect.y(); in copy()
211 uint32_t width = srcRect.width(); in copy()
212 uint32_t height = srcRect.height(); in copy()