Lines Matching refs:srcRect
91 SkRect srcRect = inSrcRect.toSkRect(); in copySurfaceInto() local
133 if (srcRect.isEmpty()) { in copySurfaceInto()
134 srcRect = textureRect; in copySurfaceInto()
136 ALOGV("intersecting " RECT_STRING " with " RECT_STRING, SK_RECT_ARGS(srcRect), in copySurfaceInto()
138 if (!srcRect.intersect(textureRect)) { in copySurfaceInto()
196 ALOGV("Mapping from " RECT_STRING " to " RECT_STRING, SK_RECT_ARGS(srcRect), in copySurfaceInto()
198 m.postConcat(SkMatrix::MakeRectToRect(srcRect, in copySurfaceInto()
201 if (srcRect.width() != bitmap->width() || srcRect.height() != bitmap->height()) { in copySurfaceInto()
235 CopyResult Readback::copySurfaceIntoLegacy(ANativeWindow* window, const Rect& srcRect, in copySurfaceIntoLegacy() argument
271 return copyImageInto(image, srcRect, bitmap); in copySurfaceIntoLegacy()
277 Rect srcRect; in copyHWBitmapInto() local
278 return copyImageInto(hwBitmap->makeImage(), srcRect, bitmap); in copyHWBitmapInto()
302 Rect srcRect; in copyImageInto() local
303 return copyImageInto(image, srcRect, bitmap); in copyImageInto()
306 CopyResult Readback::copyImageInto(const sk_sp<SkImage>& image, const Rect& srcRect, in copyImageInto() argument
325 SkRect skiaSrcRect = srcRect.toSkRect(); in copyImageInto()
346 bool Readback::copyLayerInto(Layer* layer, const SkRect* srcRect, const SkRect* dstRect, in copyLayerInto() argument
370 tmpSurface->getCanvas(), layer, srcRect, dstRect, in copyLayerInto()