Lines Matching refs:dstRect
106 SkRect dstRect = dst ? *dst : srcRect; in draw_texture() local
110 srcToDst.setRectToRect(srcRect, dstRect, SkMatrix::kFill_ScaleToFit); in draw_texture()
112 srcToDst.mapRect(&dstRect, srcRect); in draw_texture()
138 rtc->drawTexture(clip, std::move(proxy), filter, color, srcRect, dstRect, aaFlags, constraint, in draw_texture()
146 const SkRect* srcRect, const SkRect* dstRect, in drawPinnedTextureProxy() argument
151 draw_texture(paint, viewMatrix, srcRect, dstRect, aa, constraint, std::move(proxy), in drawPinnedTextureProxy()
157 this->drawTextureProducer(&adjuster, srcRect, dstRect, constraint, viewMatrix, paint, false); in drawPinnedTextureProxy()
162 const SkRect* dstRect, in drawTextureProducer() argument
175 draw_texture(paint, viewMatrix, srcRect, dstRect, aa, constraint, std::move(proxy), in drawTextureProducer()
192 if (!dstRect) { in drawTextureProducer()
193 dstRect = &srcBounds; in drawTextureProducer()
200 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
206 clippedDstRect = *dstRect; in drawTextureProducer()
207 if (!srcToDstMatrix.setRectToRect(*srcRect, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()
213 if (dstRect) { in drawTextureProducer()
214 clippedDstRect = *dstRect; in drawTextureProducer()
215 if (!srcToDstMatrix.setRectToRect(srcBounds, *dstRect, SkMatrix::kFill_ScaleToFit)) { in drawTextureProducer()