Lines Matching refs:srcRect
119 SkRect srcRect = request->srcRect.toSkRect(); in copySurfaceInto() local
161 if (srcRect.isEmpty()) { in copySurfaceInto()
162 srcRect = textureRect; in copySurfaceInto()
164 ALOGV("intersecting " RECT_STRING " with " RECT_STRING, SK_RECT_ARGS(srcRect), in copySurfaceInto()
166 if (!srcRect.intersect(textureRect)) { in copySurfaceInto()
171 SkBitmap skBitmap = request->getDestinationBitmap(srcRect.width(), srcRect.height()); in copySurfaceInto()
227 ALOGV("Mapping from " RECT_STRING " to " RECT_STRING, SK_RECT_ARGS(srcRect), in copySurfaceInto()
229 m.postConcat(SkMatrix::MakeRectToRect(srcRect, in copySurfaceInto()
232 if (srcRect.width() != bitmap->width() || srcRect.height() != bitmap->height()) { in copySurfaceInto()
273 Rect srcRect; in copyHWBitmapInto() local
274 return copyImageInto(hwBitmap->makeImage(), srcRect, bitmap); in copyHWBitmapInto()
298 Rect srcRect; in copyImageInto() local
299 return copyImageInto(image, srcRect, bitmap); in copyImageInto()
302 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, const Rect& srcRect, in copyImageInto() argument
321 SkRect skiaSrcRect = srcRect.toSkRect(); in copyImageInto()
342 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto() argument
369 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()