Searched refs:skiaSrcRect (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | LayerDrawable.cpp | 124 SkRect skiaSrcRect; in DrawLayer() local 126 skiaSrcRect = *srcRect; in DrawLayer() 128 skiaSrcRect = SkRect::MakeIWH(layerWidth, layerHeight); in DrawLayer() 130 matrixInv.mapRect(&skiaSrcRect); in DrawLayer() 146 shouldFilterRect(totalMatrix, skiaSrcRect, skiaDestRect)) { in DrawLayer() 149 canvas->drawImageRect(layerImage.get(), skiaSrcRect, skiaDestRect, sampling, &paint, in DrawLayer()
|
/frameworks/base/libs/hwui/ |
D | Readback.cpp | 312 SkRect skiaSrcRect = srcRect.toSkRect(); in copyImageInto() local 313 if (skiaSrcRect.isEmpty()) { in copyImageInto() 314 skiaSrcRect = SkRect::MakeIWH(displayedWidth, displayedHeight); in copyImageInto() 316 bool srcNotEmpty = skiaSrcRect.intersect(SkRect::MakeIWH(displayedWidth, displayedHeight)); in copyImageInto() 327 if (copyLayerInto(&layer, &skiaSrcRect, &skiaDestRect, bitmap)) { in copyImageInto()
|