Home
last modified time | relevance | path

Searched refs:skiaSrcRect (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DLayerDrawable.cpp138 SkRect skiaSrcRect; in DrawLayer() local
140 skiaSrcRect = *srcRect; in DrawLayer()
141 adjustCropForYUV(layer->getBufferFormat(), imageWidth, imageHeight, &skiaSrcRect); in DrawLayer()
143 skiaSrcRect = SkRect::MakeIWH(imageWidth, imageHeight); in DrawLayer()
184 if (layer->getForceFilter() || shouldFilterRect(totalMatrix, skiaSrcRect, skiaDestRect)) { in DrawLayer()
190 canvas->drawImageRect(layerImage.get(), skiaSrcRect, skiaDestRect, sampling, &paint, in DrawLayer()
/aosp14/frameworks/base/libs/hwui/
H A DReadback.cpp321 SkRect skiaSrcRect = srcRect.toSkRect(); in copyImageInto() local
322 if (skiaSrcRect.isEmpty()) { in copyImageInto()
323 skiaSrcRect = SkRect::MakeIWH(displayedWidth, displayedHeight); in copyImageInto()
325 bool srcNotEmpty = skiaSrcRect.intersect(SkRect::MakeIWH(displayedWidth, displayedHeight)); in copyImageInto()
335 if (copyLayerInto(&layer, &skiaSrcRect, &skiaDestRect, bitmap)) { in copyImageInto()