Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp127 SkRect skiaDestRect; in DrawLayer() local
129 skiaDestRect = *dstRect; in DrawLayer()
131 skiaDestRect = SkRect::MakeIWH(layerWidth, layerHeight); in DrawLayer()
133 matrixInv.mapRect(&skiaDestRect); in DrawLayer()
141 shouldFilterRect(totalMatrix, skiaSrcRect, skiaDestRect)) { in DrawLayer()
144 canvas->drawImageRect(layerImage.get(), skiaSrcRect, skiaDestRect, &paint, in DrawLayer()
/frameworks/base/libs/hwui/
DReadback.cpp135 SkRect skiaDestRect = SkRect::MakeWH(bitmap->width(), bitmap->height()); in copyImageInto() local
146 bool disableFilter = MathUtils::areEqual(skiaSrcRect.width(), skiaDestRect.width()) && in copyImageInto()
147 MathUtils::areEqual(skiaSrcRect.height(), skiaDestRect.height()); in copyImageInto()
152 if (copyLayerInto(&layer, &skiaSrcRect, &skiaDestRect, bitmap)) { in copyImageInto()