Lines Matching refs:srcRect
122 SkRect srcRect = request->srcRect.toSkRect(); in copySurfaceInto() local
164 if (srcRect.isEmpty()) { in copySurfaceInto()
165 srcRect = textureRect; in copySurfaceInto()
167 ALOGV("intersecting " RECT_STRING " with " RECT_STRING, SK_RECT_ARGS(srcRect), in copySurfaceInto()
169 if (!srcRect.intersect(textureRect)) { in copySurfaceInto()
174 SkBitmap skBitmap = request->getDestinationBitmap(srcRect.width(), srcRect.height()); in copySurfaceInto()
230 ALOGV("Mapping from " RECT_STRING " to " RECT_STRING, SK_RECT_ARGS(srcRect), in copySurfaceInto()
232 m.postConcat(SkMatrix::MakeRectToRect(srcRect, in copySurfaceInto()
235 if (srcRect.width() != bitmap->width() || srcRect.height() != bitmap->height()) { in copySurfaceInto()
276 Rect srcRect; in copyHWBitmapInto() local
277 return copyImageInto(hwBitmap->makeImage(), srcRect, bitmap); in copyHWBitmapInto()
301 Rect srcRect; in copyImageInto() local
302 return copyImageInto(image, srcRect, bitmap); in copyImageInto()
305 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, const Rect& srcRect, in copyImageInto() argument
324 SkRect skiaSrcRect = srcRect.toSkRect(); in copyImageInto()
345 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto() argument
372 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()